how to sort datatable in vb.net code example Example: sort datatable c# Datatable.DefaultView.Sort = "Preferance ASC";