The range of his work is extensive, from elegant court songs to the bitter, sometimes contorted word-play of the sonnets associated with the dispute over his pension, from witty pieces addressed to the king to the profound religious sensibility of 'A godly prayer'. Montgomerie is one of the finest of Middle Scots poets, and perhaps the greatest Scottish exponent of the sonnet form. Robert Burns was indebted to Alexander as is apparent from his imitating his style and adopting some of his quaint expressions.