completed all sorting programs