I have a datatable as below
**Name** **Department**
abc dept 1
def dept 2
ghi dept 1
jkl dept 1
mno dept 2
pqr dept 1
I need to group the data in the datatable such that all names having Department as dept1 comes togather and then all names having Department dept2 comes next (as shown below) and save it in another datatable.
**Name** **Department**
abc dept 1
ghi dept 1
jkl dept 1
pqr dept 1
def dept 2
mno dept 2