a table sorter using an ajax call with json