Modify the SESSION variables to do the real sort
Add ajax request to change the SESSION variables