Python Sort Method Algorithm Example Math Problems