I am trying to sort a series of financial futures contract according to alphanumeric codes, whereby M = June, N= July, Q= August....etc such that data appear like:
June 2013-July 2013
June 2013-November 2013
June 2013-January 2014
.
.
.
.
etc
The current data is in disarray whereby M3 is June 2013, F5 is January 2015, I want to be able to sort the following data:
M3-F5
M3-H4
M3-H5
M3-N3
M3-X3
N3-F4
N3-F5
N3-H4
N3-H5
N3-Q3
N3-U3
into this format:
M3-N3
M3-X3
M3-F4
M3-H4
M3-F5
M3-H5
N3-Q3
N3-U3
N3-F4
N3-H4
N3-F5
N3-H5
whereby all the June 2013 contracts are sorted first in sequential months, then the next series of July 2013 months begins and so on.
I would appreciate any guidance on sorting this complicated data set.
Bookmarks