fix(msvc): allow container ordering check

header_compare is asked to run on the header container to ensure
strict weak ordering in debug build.  Factor out the bounded char
string comparison to implement all 3 comparisons.