It's about consistency here. The entire function isn't written for readability but it's much easier to see what states get updated if they're written in order.