subOrder generation