I've got data that looks like this in a repeating pattern-

```
years cf1  years  cf2
2010   45  2010   37
2011   39  2011   29
2012   51  2012   31
2013   25  2013   33 
2014   35  2014   28

```

I need the data or array to look like this after every other column is sorted by the "cfX" variable.

```
years cf1  years cf2
2013  25   2014  28
2014  35   2011  29
2011  39   2012  31
2010  45   2013  33
2012  51   2010  37

```

thank you very much for you help!