org-do-sort
org-do-sort is a compiled Lisp function in `org.el
'.
(org-do-sort TABLE WHAT &optional WITH-CASE SORTING-TYPE)
Sort TABLE of WHAT according to SORTING-TYPE.
The user will be prompted for the SORTING-TYPE if the call to this
function does not specify it. WHAT is only for the prompt, to indicate
what is being sorted. The sorting key will be extracted from
the car of the elements of the table.
If WITH-CASE is non-nil, the sorting will be case-sensitive.