comparing and sorting javascript arrays
<p>This might get a bit confusing and I'm not sure if it's possible, but I would appreciate any help.
I have the following arrays (the items and number of lists might change, this is just an example):</p>

<pre><code>var list_1 = ["A - 2" , "E - 5" , "C - 7"];
var list_2 = ["D - 2" , "A - 2" , "E - 3"];
var list_3 = ["C - 1" , "E - 8" , "A - 7"];
</code></pre>

<p><strong>My expected output is:</strong></p>

<pre><code>var final = ["A - 2" , "C - 1" , "D - 2" , "E - 3"];
</code></pre>

<p><strong>What I'm trying to do:</strong></p>

<p>I'm trying to figure out how to go through each array item, see if the letter in the beginning of the item exists in the previous array and if the number in the item is lower than the previous item, replace it in the 'final' list.</p>

<p>Any ideas, or is this not possible?</p>

<p>jQuery is acceptable</p>
