entity switcher grouping and sorting