Sort hides irrelevant fields