Patience Sort, fix mistake in binary heap