If you want to sort sprites, you might run into issues because URP. this should resolve it. There are quite a few tips in here to help you.
this was quite complicated for me to learn, but easy enough to get the result I wanted. I broke apart 3 different tutorials to get this working.