Add an assertion that the right sort was given in the ajax call