Complex sentence: Currently held "ex officio" by the First Minister of Scotland; the position of the First Minister takes its position in the order of precedence by virtue of his or her position as Keeper of the Great Seal.
Split into simpler sentences: Currently held "ex officio" by the First Minister of Scotland. The position also grants the First Minister a position in the order of precedence by virtue of his or her position as Keeper of the Great Seal.