[hibernate-issues] [JIRA] (HHH-12405) Order inserts sorting code uses a very inefficient algorithm and can take over 200, 000 iterations to sort insertion batches to just 32 tables