Baptism 8 Apr 1804 Bolton Le Moors. Father William. Mother Ann. Residence Little Bolton.
William Greenhalgh married Ann Lever Bolton Le Moors 22 Aug 1796. He was a weaver.and literate. She was illiterate.
William Greenhalgh married Ann Howorth Bolton Le Moors 17 Feb 1801. He was a cooton spinner.
From the signature and the fact that an Ann Greenhalgh died 1797 it is possible they are both the same william.
William Greenhalgh baptism 5 Nov 1771 Bolton Le Moors. Father William Mother Alice.
William Groonhalgh married Alice Scocroft Bolton Le Moors 7 Feb 1769.
On the basis of all this I think the probability is that William married twice and Sarah was the daughter of Ann Howorth.