thorscript quicksort
Resolution stage bug.