Simple sort working with readFile