Changes to sorting algorithm used in the file manager.
fileProvider: more changes to sorting algorithm. Now always puts folders first when sorting alphabetically.
Thanks to Tari and benryves at Cemetech for suggesting how things could be done.