Minor tweak to alphabetically sort directories in array