(ITS#6722) Sortvals broken for some matching rules