EG
1 data
data
data
3 data
data
2 data
data
data
data
6 data
data

and i want to sort by 1,2,3,6, etc but keep the groups as it is if i sort by the first column then only the first row is sorted and subsequent rows in the group end up at the bottom