Fixed sorting in categories in contests page