took out print comments in sorting