Finalize Method Example In Python How To Sort