Source:
National Records of Scotland (NRS) data on popular names (NRS website)
(ties resolved alphabetically)