Sorting ticks and groups dropdowns.