how to write an algorithm that sorts unsorted numbers in python code example Example: python sort algorithm a = [1, 2, 0, 8, 4, 5, 3, 7, 6] print(a.sort())