They are prioritized by status, then LP, then booking code and then time of request.
Under normal circumstances, The loyalty points is the tiebreaker and nothing else is needed.
Given that your wife has no status and inherited yours (assuming), The first two would be equal. If she's booked in the same booking code then it probably was a function of time of request.