add file sorting
Merge pull request #17 from geduldia/master

add file sorting