Sort By Date Modified Function Code

Can someone tell me the function code to sort by date modified? Thanks much.

Depending on which way you want to sort:

Set Sortby=MODIFIED SortReverse=Off

or

Set Sortby=MODIFIED SortReverse=On

[quote="nudel"]Depending on which way you want to sort:

Set Sortby=MODIFIED SortReverse=Off

or

Set Sortby=MODIFIED SortReverse=On[/quote]

Terrific. Thanks.