Spec for sorting signature hash the right way