Files are sorted by file name instead of full-path

![file-sorting](https://cloud.githubusercontent.com/assets/546694/3108274/d0187dc6-e68e-11e3-8a09-a3ff4f80b6a1.jpg)