Default order in list

Default order in list

  
I want to make a list with a default order that is also sortable: I use this
List_SortColumn_GetOrderBy
(EntityTable.Id, "{Entity}.[DateCreated]")
Also in Data/Entities/Entity I pick orderby to DateCreated
This will let the list be sorted automatically from oldest to newest, but I wanted it newest to oldest

Hi Kevin,

you can specify the order by telling that you want it descending like this:
List_SortColumn_GetOrderBy(EntityTable.Id, "{Entity}.[DateCreated] DESC")
hope this helps.

Cheers,
Miguel
 
Kevin, maybe the video 11.2 Sort Columns in a List from the Academy, might help you.