Sort and arrange order of layers programmatically: request

Hi Brian,

I reworked the script to act on current layer only (and its all children or immediate children - use the proper argument).
Seems to be working fine except on files with tons of layers may take a couple seconds to refresh the panel…
It could probably be made faster by creating 2 temporary parent folders and juggling between them to sort, but ran out of time for now to implement this way. Hope this one helps for now.

SortLayersInCurrent.rvb (1.7 KB)

–jarek