Bugfix: Sorting files