listdir is not gauranteed to be sorted.
Merge pull request #28 from edx/feanil/fix_extra_files_test

listdir is not gauranteed to be sorted.