Highest priority for a group of alarms

I’m using this expression to get the number of active alarms for a group of tags -

len(system.alarm.queryStatus(state=["ActiveUnacked","ActiveAcked"], path=["myGroupPath"]))

I also need to get highest priority for a group of active alarms, any ideas on how to accomplish this using an expression?