Added a basic alternative sorting algorithm