i have n items in my search result with popularity (1,2,3,4....n) . I want higher popularity item should come first then next popularity item
say for example a) item with popularity n, b) item with popularity n -1, c) item with popularity n -2, d) item with popularity n - 3, e) item with popularity n - 4, f) item with popularity n - 5, .... .... y) item with popularity 2, z) item with popularity 1, what should be my query if relevance for items are constant