Skip to content

Commit 774a3a5

Browse files
authored
Merge branch 'asticode:master' into master
2 parents 2bb6f1d + 2f42372 commit 774a3a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subtitles.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ func (s *Subtitles) Order() {
695695
}
696696

697697
// Order
698-
sort.Slice(s.Items, func(i, j int) bool {
698+
sort.SliceStable(s.Items, func(i, j int) bool {
699699
return s.Items[i].StartAt < s.Items[j].StartAt
700700
})
701701
}

0 commit comments

Comments
 (0)