Python Sort Function Uses Which Algorithm Requires