using Ajax for sort and search