Thanks Milan.

Then using rec.orderBy('u_date_time'); should be enough to do the trick in case of discrepancy if any instead of

rec.orderBy("u_date_from.getGlideObject().getNumericValue()");

Hi Milan,

if that is date/time then it should work as expected

is it not working as expected currently?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

It probably is - there seems to be a data quality issue which confused me a bit...tanks a lot.

Oh Great that things got working & you got to know the issue. Kindly close the thread by marking appropriate answer as correct.

View solution in original post

I am glad to hear your goal has been achieved.

Saying this, I will appreciate if you close this thread, as answered.

Have a great rest of the day.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader