Updated arraySort method to include a sort method and follow the config list_folders_first setting.
Updated arraySort method to include a sort method and follow the config list_folders_first setting.

SansPseudoFix/DirectoryLister,DirectoryLister/DirectoryLister,LUNAD3v/DirectoryLister,mrbaddis/DirectoryLister,Snoop05/DirectoryLister,ebildude123/DirectoryLister,Seanmcn/DirectoryLister,Obihoernchen/DirectoryLister,phillip-hopper/DirectoryLister,bergo/DirectoryLister,DirectoryLister/DirectoryLister,kyroskoh/DirectoryLister,AudioGod/sshdweb,SansPseudoFix/DirectoryLister,DirectoryLister/DirectoryLister,DirectoryLister/DirectoryLister