Double Sided Material Opacity

Hello,

I’m working on a hair card shader, and I want the ‘top’ faces to display over the ‘bottom’ faces. (So that the topmost parts of the mesh display above the parts they are covering up) Right now, every overlapping part of the mesh is fighting to display on top. Is there any way to fix this? I’d appreciate any help