Python Sort Method Algorithm Example Psychology