Chapter 9 High Availability for FortiOS 5.0 : HA and failover protection : HA heartbeat and communication between cluster units : Interface index and display order
  
Interface index and display order
The web‑based manager and CLI display interface names in alphanumeric order. For example, the sort order for a FortiGate unit with 10 interfaces (named port1 through port10) places port10 at the bottom of the list:
port1
port2 through 9
port10
However, interfaces are indexed in hash map order, rather than purely by alphabetic order or purely by interface number value comparisons. As a result, the list is sorted primarily alphabetical by interface name (for example, base1 is before port1), then secondarily by index numbers:
port1
port10
port2 through port9