Tweaked selection sort algorithm
Bubble sort