`ecdf` uses a `sortperm` to sort the vector of samples given in `X` ```julia ord = sortperm(X) ECDF(X[ord], isempty(weights) ? weights : Weights(weights[ord])) ``` But `sortperm(X)` is much slower than `sort(X)`. Why not use a simple `sort`?