Multiple data set sorting issue

Team,

I have a grid of 7 columns and which have data coming from one view (5 columns) and two columns in data coming from another view . It is causing a sorting issue in GRID because of multiple data set.

All columns are part of only one cdt , is there a way i can club it on runtime and resolve sorting issue ?

CDT : (FirstName,Lastname,email,created,username,count,active)

view 1 - (FirstName,Lastname,email,created,username)

View 2 - (count,active)

  Discussion posts and replies are publicly visible