title: How can I assign keys to existing values in a JavaScript array
body: <p>I recovered an array with values from a previous method and I need to go through it and assign each of the values a key in alphabetical order.</p>
  
  <pre><code>["T", "C", "α", "T(linked)", "C"]
  </code></pre>
  
  <p>This is my array, previously mentioned. I want to know how, when crossing the array will I be able to assign it a key of alphabetical form, so that the final result was:</p>
  
  <pre><code>["A:T", "B:C", "C:α", "D:T(linked), "E:C"]
  
  </code></pre>
  
  <p>Any advice will be welcome. Thank you in advance.</p>