swapped two sections of the global point numbering code to avoid potenti...

...al problems