The panel
A panel with two rows of ports counts in one of two ways. Along the rows, the upper row is 1 to 24 and the lower one starts at 25. Down the columns, the upper row carries 1, 3, 5 and the even numbers sit directly beneath. Read the order off the panel in front of you rather than off the template: the ports are in the same places either way, and a strip built for the wrong order puts every number on the wrong jack.
The pattern
Use {nn} for the zero-padded port number, {n} for the plain number, {i} for the position in its row, and {r} for the row. The number and the position are the same value only when the panel counts along its rows.
Strip preview
Export
How to use the output
The preview shows the order and grouping that will appear on the strip, with a heavier rule at each group boundary so a miscount is visible before anything is printed. A panel with more than one row produces one strip per row, because that is how the strips are printed and fitted.
The CSV carries one row per port and states the row, the position along that row, and the number printed there as three separate columns. They are not the same value. On a panel that counts down its columns, the third position on the upper row carries port 05, and software given only a position will silently produce the sequence for a different panel.
Check the port pitch of your actual panel before printing. Sequence and spacing are independent: a strip can carry every number correctly and still walk off the ports, which is why the patch-panel guide proves the strip at full size against the panel rather than against the screen. That misalignment is one of the more common reasons a panel ends up with handwritten corrections over a machine-printed strip.