reorder gateway params