I previously was using bubble sort, not selection sort