Imagine you have a language written with the 5 letters k, m, g, j, and b. In this
Imagine you have a language written with the 5 letters k, m, g, j, and b. In this language, the dictionary ordering of the letters are as stated; k goes before m, m goes before g, g goes before j, and j goes before b. You are given an ArrayList of words in this language. Write code that sorts these words in the dictionary ordering of this language. Assume the Strings contain only k, m, g, j, and b. The Strings contain no spaces or any punctuation.