Made the dirs get sorted before files in the file browser.