sort datatable c#

C#
Datatable.DefaultView.Sort = "Preferance ASC"; 
Source

Also in C#: