Setting interrupt priorities for MKRGSM1400

I am looking for example code for how to prioritize two interrupts, one connected to Pin 0 and the other connected to Pin 1. I have seen some references to using NVIC_SetPriority but I haven't seen how to map the physical pin number of the MKR1400 to the Interrupt Number needed by the NVIC_SetPriority function call. I appreciate any pointers to examples of code that show how to do this for a MKR1400.

Thank you.