We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e63ed commit f16973fCopy full SHA for f16973f
progress/tracker_sort.go
@@ -78,4 +78,4 @@ func (sb sortByValue) Less(i, j int) bool {
78
79
type sortDsc struct{ sort.Interface }
80
81
-func (sd sortDsc) Less(i, j int) bool { return !sd.Interface.Less(i, j) }
+func (sd sortDsc) Less(i, j int) bool { return !sd.Interface.Less(i, j) && sd.Interface.Less(j, i) }
0 commit comments