updating direction sorting for directory to have nice looking controls