varqsort.cc #2