It's confusing, really. The priority bits in the color bank code (VDP1) is an index into the sprite register priority (VDP2).
So let's say you set sprite register #0 to be 7, sprite register #5 to be 2.
In your VDP1 command table, if your priority bit(s) is 0, then your sprite will have a...