Implementation of two popular sorting algorithms: - Bubble sort - Quick sort (might add other algorithms later) Press the green flag to shuffle the list of 1000 items. To change algorithm, click the flag again or press [A]. To sort the list, click or press [SPACE]. When the list is sorted, the sorting time will be displayed. No visualization yet, should I make one?
https://en.wikipedia.org/wiki/Sorting_algorithm Bubble sort is really simple but slow, Quick sort is really fast but a bit more complex. https://en.wikipedia.org/wiki/Quicksort https://en.wikipedia.org/wiki/Bubble_sort