Sort query results by any edge property

That’s the only way to do it in Dgraph. There are always different ways, but you have always a combination of multiple blocks. You can’t gather values from a variable from its own block.

1 Like