Given the set of letters $\text{\{a,b,c,d,e,f,g,h,i,j,k,l,m\}},$ we can list out all permutations of these letters in lexicographic (dictionary) order. The first three permutations in this list are $\text{abcdefghijklm},$ $\text{abcdefghijkml}$ and $\text{abcdefghijlkm}$ and the last one is $\text{mlkjihgfedcba}$. What permutations would appear immediately before and after the following one is this lexicographically ordered list of permutations?
$$\text{bcjameflkihgd}$$