Support sort
function in matchVariant
#9423
Merged
sort
function in matchVariant
#9423