Fixed: Segfault when sorting empty lists using CMath::qsort() (re-sent to develop)

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