The rules added in GUI, are applied as they are written, including the order.
BTW, the order of the rules (from top to bottom), is applied not only to firewall.
This applies wherever there are filters, generally speaking (firewall, web filters, ...).
Usually, are applied rules to block and to allow.
Always, first (top) are rules to block and second (bottom) are rules to allow.