I think I'm right in saying that OSX always sees the boot drive as 0, and orders the others as per BIOS.
So, for example if your boot order in BIOS was P1, P0, P2 and P3, OSX shows them as d0, d1, d2 and d3.
Different in windows where Disk Management orders them as per BIOS.