I'm trying to create a subgraph with the following query and getting an error
'MATCH (n:Consumer) RETURN id(n) AS id',
I'm using <apoc.coll.sortNodes(collect(i),'event_date') as elems> to sort my nodes but I want to sort on multiple properties like event_date and priority. Is it possible with apoc.coll.sortNodes?
"MATCH (n) WHERE n:Consumer OR n:Target RETURN id(n) AS id, labels(n) AS labels",
"MATCH (a:Consumer)-->()-[:HAS_TARGET]->(b:Target) return id(a) AS source, id(b) AS target",