Click the Green Flag to randomize the list. Click on the skewers to sort the list! This project uses odd-even sorting algorithm. This algorithm works by firstly looking at every odd-even pair (1&2, 3&4, 5&6, etc.) in the list and sorting each of those pairs. Then, the algorithm sorts the even-odd pairs (2&3, 4&5, 6&7, etc.). This will be repeated until the entire list is sorted.
Made to help u/Patient_Bumblebee_42 on Reddit.