Considering the ordering of qualifiers when comparison

The orderings should be considered during the comparison between old qualifiers and new qualifiers.