Not C's qsort, nor by default a quicksort at all anymore. Note that on older perls (5.005ish?) that do use qsort, some platforms have a tendency to coredump if the sort routine provides inconsistent results. (Just heresay, never actually seen it myself.)