Function: org-sort-function-fallback

org-sort-function-fallback is a byte-compiled function defined in org-macs.el.

Signature

(org-sort-function-fallback A B &optional _ IGNORE-CASE)

Documentation

Return non-nil when downcased string A < string B.

Use compare-strings for comparison. Honor IGNORE-CASE.

Source Code

;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-macs.el
(defun org-sort-function-fallback (a b &optional _ ignore-case)
  "Return non-nil when downcased string A < string B.
Use `compare-strings' for comparison.  Honor IGNORE-CASE."
  (let ((ans (compare-strings a nil nil b nil nil ignore-case)))
    (cond
     ((and (numberp ans) (< ans 0)) t)
     (t nil))))