the syntax that i have so far is this:
g.V().has('@class', 'Person').order{it.a.last_name <=> it.b.last_name}[0..9]
but it seems like the closure provided to order
is executed at the client, which implies the entire extent of the collection needs to move to the client for evaluation.
is this the case, and if so, what are my options for sorting and paging server side with orient-db (2.2+
)?