qsort with list comprehensions