Rearrange values table to group similar values together.

This results in a nice-looking block structure in the comparison table,
which makes it much easier to tell which values compare equal at a glance.