Sort by type instead of name, add slash at end of directories