As a script, you will only see your results when the script can run, on your published site. You will not see the sorted content in the designer.
The script can only sort what it can see, which means that if your collection contains more than 100 items, your list will not have all of the elements needed for a complete sort.
By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.