Group features into categories