Sort folders in selection dialog