Custom-Sorting Arrays for Dummies (small correction)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Custom-Sorting Arrays for Dummies (small correction)

Martin Marris

In a couple of places I left out the word Sparse when giving command syntax. So it should be as follows (with the correction in red):


The syntax for utils.SortSparseArrayCustom is:


utils.SortSparseArrayCustom(arr, show progress, plug-in name, method)


Blah, blah….


So let’s say you have a really boring, single-level Sparse Array called MyArray that contains nothing except a list of numbers. You could sort the array like this:

--utils.SortSparseArrayCustom(MyArray, false, “utils”, “NumberLess”)




Plugin-dev mailing list
[hidden email]