Group case types in select by origin