- Fixing state tables so that they are always in order