edit resources table to make 'small groups' first