Issue with rendering order of cards

Hi everybody! I’m having an issue with the rendering of order of a group of cards in 3d space.

I’ve sorted them in the z-axis towards the camera as seen in the side image below:9854805--1419081--Card Rendering Issue.png

However,when seen through the camera, the order of who’s on top is different.

The cards are made from sprite renderers and all have the same layer an order in layer. I’ve tried playing with the distance between the cards, but the amount that I need to change the z-value for them to start rendering correctly is huge. Does anyone know why this is happening and how to fix it?

In advance, thanks.

I’m stll not sure why it’s happening; but for now, I found a solution by changing the order in the layer every time a card is added to teh hand

public override void AddToStack(V1_StackableObject card)
{
base.AddToStack(card);
// tell the object they are in hand
card.GetComponent<V1_Card>().SetStatus(V1_Card.CardStatusFlags.isInHand);
// change sorting order layer so they render properly
card.GetComponent<V1_CardArtManager>().ChangeOrderInLayer(cardList.Count);

}