Refactor partial_cmp for HumanString.