Hello, Sebastian Reuße <s...@wirrsal.net> writes:
> * org.el (org-sort-entries): Use collated sorting. > (org-tags-sort-function): Use collated sorting. > (org-string-collate-greaterp): Add helper-function to use as defcustom > option, since there is no ‘string-collate-greaterp’ in Emacs. Thank you. However, Org 9.X still supports Emacs 24, so we cannot use `string-collate-lessp without degrading gracefully to `string-lessp' in these Emacsen. We could add `org-string-collate-lessp' to "org-compat.el", which would be an alias for `string-collate-lessp' on Emacs 25+ and to `string-lessp' otherwise. > +(defun org-string-collate-greaterp (s1 s2 &optional locale ignore-case) > + "Return t if S1 is greater than S2 in collation order. Return non-nil if... We would also need tests for that feature. WDYT? Regards, -- Nicolas Goaziou