Added new sort algorithm