make_ndarray_equal
Compare two ndarray, sort the second to match with the first one.
vec_ref (ndarray) – reference vector
vec_to_sort (ndarray) – vector to sort
Isort (ndarray) – Vector of indice to sort the vec_to_sort
vec (ndarray) – Sorted vector