tests: sorting facets by count asc and index