Sorting and grouping of page categories based on meta attribute category