Miscellany
public text v1 · immutabledef selectionSort(subList):
for start in range(len(subList)-1):
bottom = start
for index in range(start+1,len(subList)):
if subList[index] < subList[bottom]:
bottom = index
if bottom != start:
temp = subList[start]
subList[start] = subList[bottom]
subList[bottom] = temp
return subList