fix: case dependency and sorting order (#661) (#662)

This commit is contained in:
Alexei Yuzhakov authored and Henrique Dias committed 2019-02-03 15:50:08 +01:00
1 parent 4a2573830e
commit 17b514510b
1 file changed
+2 -1
+2 -1
View File
@@ -2,6 +2,7 @@ package files
import (
"sort"
"strings"
"github.com/maruel/natural"
)
@@ -68,7 +69,7 @@ func (l byName) Less(i, j int) bool {
return false
}
return natural.Less(l.Items[i].Name, l.Items[j].Name)
return natural.Less(strings.ToLower(l.Items[j].Name), strings.ToLower(l.Items[i].Name))
}
// By Size