Help with recursion

You can try add sorting https://dgraph.io/docs/query-language/sorting/ but the problem is that Recurse isn’t a predictable query.

 rq(func: uid(BRC), orderasc: created) @recurse {
        uid
        created
        leaf (first: 1, orderasc: created)
        stem
        tree
        grape (first: 1, orderasc: created)
        num
      }