tfausak/cabal-gild

Sort elements case-insensitively

tfausak opened this issue · 1 comments

See #45, which also has to do with sorting.

Currently most (if not all) fields with sorted values are sorted case-sensitively. So for example Cabal-syntax is sorted before base. I think this is not what people expect. Instead they should be sorted case-insensitively. I think this can be done without dragging in the case-insensitive library since most (if not all) of these values are actually ASCII (or Latin-1).

I think this isn't worth the trouble. The only uppercase package names I can think of without looking are Cabal(-syntax) and QuickCheck. Pretty much everything else is lowercase anyway.

And module names are more complicated since they can have (more or less) arbitrary Unicode characters in them. I don't want to have to drag in case-insensitive or text-icu just for sorting things.

If anyone stumbles across this issue and really wants this feature, let me know. But at this point I don't think it's worth the effort.