Why doesn’t the array class have a .sort()? I don't know how to sort an array directly.
The class array.array is a packed list which looks like a C array.
I want to use it because only numbers are needed in my case, but I need to be able to sort it. Is there some way to do that efficiently?