Sort of Meterial ID (with "Translucent" Blend Moded)

Recently, I had a issue about Materials. (Below image)

Is this right solution?
Does the order of mesh and material IDs matter?