python sorts done