Order of fixtures when a contact is created?

Hi, everybody,
I'm using only collision detection in Box2d, and wrote my own contact listener.
In the BeginContact virtual function, I get two fixtures from the contact and deal with them, but I don't know how the order of the two fixtures is determined by Box2d system, could anyone give me an answer, thanks in advance.
You should not rely on the fixtures being in any particular order.

When you create a fixture or body you can set some user data in it, then look at this in the collision handler to identify what has collided.
Yes, I just did what you said, actually I'm studying this article.
http://www.raywenderlich.com/606/how-to-use-box2d-for-just-collision-detection-with-cocos2d-iphone
But what I don't know is how the order of the two fixture in contact is determined by box2d.
Think about these questions...

If they were ordered somehow, how would they be ordered?
What would you do if they were ordered?
Yes, you are right.
There is no use of the order for me, but I'm just curious, 🙂

Original thread: https://box2d.org/forum/viewtopic.php?t=5833