Sorting of Data

Hello AX Users,

I have created one temporary table .

My requirement is that i have a date field in the table and i want that data in the table to be sorted in descending order and also after when any record is inserted .

So can anyone please suggest me the solution for it ?

Use the same approach as for permanent tables - “order by” clause and/or indices.