darrenhillconsulting
04/13/2026, 3:35 PMCeligo AI
04/13/2026, 3:35 PMAI generated answer (using internal Slack threads):Based on the conversations provided, there is no mention of
Array.prototype.toSorted being supported in SuiteScript 2.1 (SS2.1). However, it's important to note that SuiteScript 2.1 supports ECMAScript up to version ES10 (ES2019). This means that it supports many of the array methods available in that version of ECMAScript.
Unfortunately, Array.prototype.toSorted is not a standard method in ECMAScript and therefore it's unlikely to be supported in SuiteScript 2.1. If you need to sort an array in SuiteScript, you can use the standard Array.prototype.sort method.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
04/13/2026, 3:35 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.839355469
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.829712033
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.807373047
Celigo AI
04/13/2026, 3:35 PM