In this example first port is greater than the last port
set firewall group port-group PORTGRP port '25-1'
Expected validation, for example:
vyos@r4# set firewall group port-group PGRP port 25-1 Error: [25-1] is not a valid port range Value validation failed
Also it allows to set out of port range value:
set firewall group port-group PORTGRP port 70000