I\'m trying to convert the D3 example implementation of Quicksort from https://bl.ocks.org/mbostock/e1e1e7e2c360bec054ba which is in a prior version to version 6 (currently