Subsonic 2 Order By sorting not working

817 Views Asked by At

I am trying to sort (ORDER BY ) a subsonic DAL collection

New templateController.FetchAll().OrderByDesc("Name")

But it is not sorting. Am I missing something?

1

There are 1 best solutions below

0
On

Used this as a solution

New SubSonic.Select().From(Templatedata.Schema).OrderAsc("Name").ExecuteTypedList(Of Templatedata)()