DataTable dt2 = new DataTable();
dt2.Columns.AddRange(new DataColumn[4] { new DataColumn("UserId"), new DataColumn("Name"), new DataColumn("Address"), new DataColumn("DOB", typeof(System.DateTime) ) });
dt2.Rows.Add("12", "abc", "delhi", DateTime.ParseExact("22/02/2000", "dd/MM/yyyy", null));
dt2.Rows.Add("13", "pqr", "mumbai", DateTime.ParseExact("17/05/2002", "dd/MM/yyyy", null));
dt2.Rows.Add("14", "klm", "banglore", DateTime.ParseExact("18/07/2000", "dd/MM/yyyy", null));
dt2.Rows.Add("15", "asd", "pune", DateTime.ParseExact("12/01/2005", "dd/MM/yyyy", null));
dt2.DefaultView.Sort = "DOB ASC";
DataView dw = dt2.DefaultView;