Sorting alogorithms and a Gui