java get sorted values from immutablemap based on list of keys
<p>I have <code>ImmutableMap&lt;String, Integer&gt;</code> and <code>List&lt;String&gt;</code> that defines the order. I want to get <code>ImmutableList&lt;Integer&gt;</code> with that order. For example:</p>

<pre><code>map (&lt;"a", 66&gt;, &lt;"kk", 2&gt;, &lt;"m", 8&gt;) 

list ["kk", "m", "a"]
</code></pre>

<p>As result I want another list of values from given list with defined order :<code>[2, 8, 66].</code></p>

<p>What is the best way to do it in java?</p>