Where was the order issued from? OH, WA, CA? In order for it to show up at a routine border crossing, I'm guessing it's a criminal protective order of some kind. You need to make sure you have no further contact with your ex. That is a violation of the order that she can use against you in court.