Reverse order of sort if same parameter selected twice