From: Adam R. <ad...@ex...> - 2015-11-06 13:28:41
|
I started the implementation of array:sort here - https://github.com/adamretter/exist/commit/5929ce57ce6034b2000314dfa67b0cb8c2e1d19f It works well for atomic values but falls down for Sequences and Nodes because they don't implement Comparable. I studied GenericComparison.java but it looks very non-trivial to take parts of that and implement Comparable (if not impossible). I would appreciate some suggestions on the best way to implement array:sort so that it also covers arrays... Suggestions please... -- Adam Retter eXist Developer { United Kingdom } ad...@ex... irc://irc.freenode.net/existdb |