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