will pivot and sort