Thanks for the report. We now know that there is a flaw in the logic in the QuickSort() function you posted (probably a comparison failure). Of course you can use my functions. If you need any help with them, let me know.
Did you test the standard _ArraySort() function?
Sample code showing how to open files with openoffice Writer and Calc / read text / save as HTML or PDF
- added gettext
- added a batch converter for RTF->PDF openoffice_test.au3