Contrary to the other replies here, I do feel OP's pain for not being treated properly and I would have also felt infuriated on getting such treatment.
I hope you do file a complaint with Jet about this incident.
Though I do agree that this incident has nothing to do with a solo-female traveler. It would be the same if it was a solo-male or a group of people travelling. I would suggest to not stress this part too much in the complaint (other than mentioning it once).