Sort by title for groups and orgs

Pull request to address the discussion in #2001