metanorma / metanorma-plugin-glossarist

Glossarist plugin for Metanorma
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Support sorting based on nested attributes #41

Open ronaldtse opened 6 days ago

ronaldtse commented 6 days ago

Currently we are only sorting based on the attribute given and there is no option for dynamic keys.

If the IDs are the same for all languages then we can do something like eng.id

[glossarist, /path/to/glossarist-dataset, filter='group=foo;sort_by=eng.id', dataset]
----
...
----

Originally posted by @HassanAkbar in https://github.com/metanorma/metanorma-plugin-glossarist/issues/38#issuecomment-2482288585