For SPSS version 16 and higher, run
SORT VARIABLES BY NAME (A).
which should render relevant variables adjacent if your variable names are as you described. If that doesn't work, there are some alternatives:
1) Use a tiny Python script such as this one: http://www.spss-tutorials.com/select-va ... -in-names/
. Something like this may actually be (very) useful for your situation anyway.
2) Use the old school hack of syntax generating syntax. I'll only go into that if everything else really fails because I feel it's a bit on an emergency solution.
Let me know whether that gets you any further because there's plenty of options for such situations.
Ruben Geert van den Berg