Fixed ajax sort