I just realised I made a mistake with the listing of the children’s names and I’d copied and pasted it wrong again later in the thread.
It should be Andrew not Alexander.
So the following:
Robert - Kersmains 22/06/1771
William - Kersmains 20/02/1773
Mary - Kersmains 31/03/1775
Betty - Kersmains 22/12/1776
Andrew - Kersmains 04/11/1778Alexander - Kersmains 21/10/1780
John - Kersmains 26/02/1783
Andrew - Kersmains 05/01/1785
Archibald - Kersmains 13/10/1788
Isabel - Kersmains 15/11/1795
Christian - Kersmains 23/08/1802
So the Andrew born 1778 probably died around 1784 and they named their next son Andrew as well.
On the MI it says:
also ANDREW HOGG who died in infancy.
So Alexander would be the 4th son:
1st - Robert - 1771
2nd - William - 1773
3rd - Andrew- Kersmains 1778
4th - Alexander - 17805th - John - 1783
6th - Andrew - 1785
7th - Archibald - 1788