Hello. I have come across this family - and although I have not made a link back to it I expect a Stirling link to exist. William was the son of John Stirling (1)and Margaret Wilson. They had other children Margaret 1796, James 1798, John(2)1800 (IGI Batch no.C114985).
Another researcher interested in this family has told me John Stirling(1) was born 1770 Kirkie to Robert Stirling and Jean King. I have alerted that researcher to this exchange. Deirdre