Is python's sorted() function guaranteed to be stable? Is python's sorted() function guaranteed to be stable? python python