getOrder (almost ok)