Is it possible to apply `by` modulator to not last step?

I have TheCrew graph.
I'm trying to get 2 properties and unfold values only for second one, query is like
g.V().valueMap("location", "name").by(__.unfold()).by()
but property order after valueMap can be random, so I added sorting to get expected result
g.V().valueMap("location", "name").order(local).by(keys)

Is it possible to add by modulator after sorting to valueMap maps?
g.V().valueMap("location", "name").order(local).by(keys).by(__.unfold()).by() get error because try to apply all by to
order
step
Was this page helpful?