~Alexis MinlutexJun 12, 2012, 7:06 AM135 PostsRe: Document sorting in SSJS without using treemapHi, make a 2-dimensional array and put the key there as the first item and document position/index in collection as the second item. Then just sort that array by the key.- Panu
~Ben AsaponeskiodenJun 12, 2012, 7:37 AM126 PostsRe: Document sorting in SSJS without using treemapwhy not simply create a view and select ascending / descending in the sort options on a column ? It will offer much better performance than doing it manually with SSJS