Adjectives

(s)topmost, uppermost, upmostat or nearest to the top“the uppermost book in the pile”, “on the topmost step”

Adverbs

(r)uppermostin or into the most prominent position, as in the mind“say what comes uppermost”
(r)uppermostin or into the highest position“the blade turned uppermost”