Write A Python Program Using Function To Sort The List