Reorder ports