CRM-13863 - Allow sorting to happen through ajax