Macros and functions for quicksort have all the qks prefix.