fixed ajax sorting