Implemented file sorting algorithm
Implemented file sorting algorithm

The file sorting algorithm has been implemented to keep folders at the
top of the directory. This change also hides hidden files prefixed with
the ‘.’ character.

jamestaylr/file-server,jamestaylr/file-server