也许是这样的:
int = [2:7:259 3:7:259 4:7:259 5:7:259];
Srtints = sort(int);
X1 = x(:,srtints);