Implemented directory assorting

Completed directory assorting coding.
Added option to specify file name date format for faster assorting.