Test version of QSort working