Working on the sorting algorithm

Lunch break backup