Sprintf madness

Also fix a `-Wreorder` in `AffineMap`.
Why the change?