Sort groups on admin page.