org-footnote-normalize

org-footnote-normalize is an autoloaded compiled Lisp function in `org-footnote.el'.

(org-footnote-normalize &optional SORT-ONLY)

Collect the footnotes in various formats and normalize them.

This finds the different sorts of footnotes allowed in Org, and
normalizes them to the usual [N] format.

When SORT-ONLY is set, only sort the footnote definitions into the
referenced sequence.