Python Sort Method Algorithm Example Programming