minor cosmetic
minor clean up
minor renaming
txn view: Ensure txn groups are sorted and avoid duplicates