fix tristate_lexicographical_compare(w/delimiter version)