proper sorting of contests in the filter bar