JumbleSort in Python