neodash icon indicating copy to clipboard operation
neodash copied to clipboard

Add explicit ordering for dictionary keys as output to single value charts

Open nielsdejong opened this issue 1 year ago • 0 comments

When returning a dictionary, add an advanced setting in NeoDash for ordering keys, after the results have been returned (because Cypher will always "shuffle" the keys, even if APOC were to re-order them in the way we want).

A proposed solution would be to add a list of ordering options: "auto", "alphabetical", and "cypher inferred" where we reverse engineer the order from how the query was specified. (Parsing the AST?).

It might actually also be useful for the Table component as it can set the columns in the order you want.

nielsdejong avatar May 24 '23 14:05 nielsdejong