Quicksort eventually works :)
Added Dijkstra 3-way quick sort