They are sorted in the order of entering the trade.

This is not the same as the opening order. When the trade uses an entry limit, it can open at a different bar.