prices sorting assert