How to default backtest report date column to descending order

A New BACKTEST Question

After a backtest report completes the date column is in ascending order and I would rather the backtest report default to date descending order.

I can sort the date column to descending order after the backtest is completed but I was seeking advice how to default the date column to Descending order.

Apologies for tagging this question onto an existing topic - resubmitting my question under a new topic

Check out the SetSortColumns() function: https://www.amibroker.com/guide/afl/setsortcolumns.html

Thanks for the hyperlink - I have SetSortColumns in my code and it works perfectly when I do an exploration.

I can't see where the SetSortColumns will default the date column to Descending order in a Backtest.

I know I can sort the date column to descending order manually after the backtest is completed but I'm at a loss how to default the date column to Descending order - I must be missing something.

Thanks - mradtke

SetSortColumns - resorting the column order did the trick.