If you want the sort to first sort on the pageURL, then you should put pageURL first in the sort. The way you have the query, it looks like it should order by the rating first and then if there are two results with the same rating then it will sort by pageURL.