index lister: sort within the groups