The right-click sort option in tables should work the same way as the automatic sorting rule which ensures a table keeps being sorted after changes.