Interrupt Priority

Can someone explain the priority order of interrupts 0, 1, & 2?

I used attachInterrupt on pins 2 & 3 and MsTimer2 library to run a function every 5 msec. The rotary encoder on pins 2 & 3 worked perfectly untill I added the MsTimer2, now it misses pulses.

Help? What can I do?

All 3 interrupt activated subroutines are very small (increment/decrement a value or an analogWrite).

Can you post some code???

There is no interrupt "order" once an interrupt triggers an ISR then nothing else can interrupt that ISR unless you specifically enable the interrupts inside it. That is not recommended as it raises all sorts of issues with preserving the state of the machine before the interrupting interrupt is serviced.

However the interrupt stricture is complex you are better off looking at the data sheet for the processor to see all the ins and outs of it.