Function Create In Python How To Sort