Stable Sorting Algorithm Examples Python