sorting... all we have left is displaying and writing to filels