finally fixed pagination bug, where ordering was not working. Now we have pagination with ordering