fixed clan sorting with pagination