Interrupts are determined by the pic you choose.
The only interrupt that might apply, depending on the pic, is PortB change. Even then all it would do is jump to a sub anytime one of the affected ports changed status. You still would need to write code to determine the "priorities" you are speaking of.
Based on the application interrupts are not going to be any assistance to you. You are going to have to do this conventionally by polling each pin and writing conditional statements. Interrupts don't function in the way you are hoping they would.
I would assume this if for the following project http://www.picbasic.co.uk/forum/showthread.php?t=4772





Bookmarks