file is now being read in and lines sorted