reset the transaction

just to be safe and prevent a potential crash
sort the region page in a locale-aware manner