Fixed: Segfault when sorting empty lists using CMath::qsort()

The patch fixes the pre-condition in qsort.  Sorting an empty list is a no-op, so simply return if size is <= 1.