orderBy() vs orderByDesc() – ServiceNow

Both orderBy() and orderByDesc() are used to sort out query results before iterating and using the returned data using next() function in ServiceNow. Usage of orderBy() and orderByDesc() method Both of them accept single argument That argument would be the back-end name or dictionary name of the table column to be used. For Example, take an example of “Created on” field on change request table. Dictionary column name of this…

View More orderBy() vs orderByDesc() – ServiceNow