diff --git a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml index a9e025904c..a8970e4d87 100644 --- a/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml +++ b/config/alfresco/ibatis/org.hibernate.dialect.Dialect/node-common-SqlMap.xml @@ -835,9 +835,10 @@ txn.change_txn_id as change_txn_id, txn.commit_time_ms as commit_time_ms - - order by txn.commit_time ASC - order by txn.commit_time DESC + + + order by txn.commit_time_ms ASC, txn.id ASC + order by txn.commit_time_ms DESC, txn.id DESC @@ -888,6 +889,7 @@ from alf_transaction txn +