It’s possible to order not all the text of an (odt) file, but only the headers (e.g. h2) keeping under each header “his” text?
E.g. sort the following:
b header
some text b
a header
other text a
in the following:
a header
other text a
b header
some text b
Thank you