Fixed so page types is sorted by name first then sort order