Create Sorting algorithm