Swap the tuple order in GlobalNId