In that case you can receive benefits on your ex-spouse's record even if they have remarried, provided you meet the conditions.
Does that mean my ex needs to be entitled to Social Security retirement benefits?
Yes. In addition to that your marriage must have lasted 10 years or longer.
It did, so what if my former husband had more benefit on his record?