We require ajax for the sort callback.