title: Swift 3 Find position of the biggest Double in array
body: <p>My Array:</p>
  
  <pre><code>let array = [45,12,10,90]
  // The number I need in this case is 3
  </code></pre>
  
  <p>Then I need to grab a value of another array:</p>
  
  <pre><code>let otherArray = [6,6,7,4,0] 
  </code></pre>
  
  <p>I have tried to resolve the problem like this:</p>
  
  <pre><code>let maxPosition = array.max()
  let desiredValue = otherArray[maxPosition]
  </code></pre>
  
  <p>This doesn't seem to work as desired. </p>
  
  <p>Thanks for your help!</p>