Sort with PDFBox IterativeMergeSort instead of QuickSort

MSAL

PDFBox 2.0.25 replaced org.apache.pdfbox.util.QuickSort with IterativeMergeSort, and PDFBox 3.0 has no QuickSort. This sorts with IterativeMergeSort, in natural order where QuickSort was given no comparator. IterativeMergeSort is stable, so elements that the comparator finds equal keep the order they were in, where QuickSort could swap them.

org.openrewrite.apache.pdfbox.MigrateQuickSort
mod run . --recipe=org.openrewrite.apache.pdfbox.MigrateQuickSort

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.