Hi all,

I have a group of pages, each with a rating. I want to make an inline query such that I can choose the pages with the 10 highest ratings and have them displayed in alphabetical order. I can figure out how to get the top 10 rated pages:

{{#ask:[[Category:Pages]]|sort=Rating|order=Descending|format=ul|limit=10}}

But then of course since I'm sorting by Rating, I can't also sort by alphabetical order. I also tried using a subquery:

{{#ask:<q>[[Category:Pages]]|sort=Rating|order=Descending|format=ul|limit=10</q>|sort=|order=Ascending}}

I was thinking that the subquery would get the top 10 rated pages, and then those 10 would be sorted alphabetically, but that's not the case. I just get the first 10 pages in Category:Pages sorted alphabetically, as if there were no limit on the subquery at all.

Can anyone help me accomplish this? Is it possible?

Thanks,
Evan