We are not going to play the "who has it worse," game. That would just bring more fuel to the fire.
I understand how you feel. I had lost many people in my life when coming out. Here is my words of advice to you: Friends are people who are meant to offer comfort and support when you are feeling down. Friends are supposed to lift you up, not bring you down. If they are not accepting of you being nonbinary/transgender, then they were never really your friends. Because friends are family, they are made to accept you no matter what. And if they are not accepting of who you are, then they don't deserve your trust and respect. Then what would be the point of having a friend like that? When they take from you but don't offer anything in return? That is not a true friend.
Yes, it does hurt when you lose them. You will get that sense of betrayal. In the future, though, it will make things better. As you would realize that there are better people who will respect who you are. No matter if you were trans, skinny, fat, black, white, gay, bi, or even an alien from outer space.