You can only set the priority of a whole series. so Light in front of dark series. You can not do it on a category by category item.

You can mimic that action by having multiple series for each layer. So you have 3 layers Front|Middle|Back. and within each layer you have a colour Dark|Medium|Light.
Use formula to determine which Dark|Medium|Light. point to populate for each Front|Middle|Back layer.