Prioritize network connections

I’m working on ESP board that has LTE connection & Lora, and was wondering if there is anything that exist in mongoos os where I can put priority on the diffrant network types.

for example , I wan to coonect to LTE first , if there is no network connection I want to disabble PPP and connect to wifi