s4-wrepl: use TYPESAFE_QSORT() in wins repl code