Christopher Cope wrote in #note-1:
Firstly, the behavior on this page is not consistent with the rest of the firewall. I would expect to drag the gateways similarly to the firewall rules.
Only rules support drag-and-drop, there are other pages which work identically to this, like IPsec tunnels.
Instead it places the selected gateway(s) above the one that is clicked. This leads to a weird situation where it it placed where the mouse is clicked when moving up and 1 spot above where the mouse is clicked when moving down.
That is the expected behavior, see the description of the anchor icon here: https://docs.netgate.com/pfsense/en/latest/config/manage-item-lists.html
→ luckman212 wrote in #note-2:
Does it even make sense to "sort" this table? I never thought that the order shown on the Gateways page had any effect on the routing decisions. I would assume this to be determined instead by Gateway Groups, Policy Based Routes, Static Routes, and the kernel routing table (FRR/BGP if used).
Reordering gateways can be useful for certain use cases that might depend on the order of gateways in this list, such as automatic default gateway behavior (when not using a group).