How can I use Python\'s inbuilt sort (or similar) to do an in-place sort on a arbitrary collection (which supports __len__
__len__