added quicksort to libasm