That would be a case of metathesis (i.e. a transposition of phenomes in a word) and which happened in the etymology of the following examples:
foilage (from foilage)
nuclear (from nucular)
prescription (from perscription)
bird (from bryd)
pretty (from purty)
dirt (from drit)
relevant (from revelant)
Just sayin'