Given a list of Comparable items, the algorithm will sort the items in ascending order and return the modified list.