change string to array in OrderQuery method