Python Sort Method Algorithm Example In Math