DSL: properly handle unsorted parts in subcard's headwords