You can also simply call "qSort(list)" if you want to sort the whole list.