You can't do that with Java API without SQL.
OrientDB - Sorting a cluster by a property
题
How do you sort a cluster using java API? In other words, how do you do
List<ODocument> results = db.query(new OSQLSynchQuery<ODocument>("SELECT * FROM FilteredCompounds ORDER BY cidScore DESC"));
with JAVA API??
解决方案
不隶属于 StackOverflow