title: Append array int to a string array
body: <p>I have a string array that displays a string on an individual line. I would like to take an int array and display on the same line. So the entries of the array are paired in order. So <code>yourArray[1] = number[1]</code>, <code>yourArray[2] = number[2]</code>, etc. So I am just trying to add a the number array to <code>labez.text = sortedArray.map { " ($0)" }.joined(separator:"\n")</code> line of code. </p>
  
  <pre><code>var yourArray = [String]()
  var number = [Int]()
  
  
  @IBAction func store(_ sender: Any) {
    yourArray.append((textA.text!))
    number.append(Int(textB.text!)!)
  
    labez.text = sortedArray.map { " \($0)" }.joined(separator:"\n")
  
  
    let sortedArray:[String] = yourArray.sorted {
      $0.localizedCaseInsensitiveCompare($1) == ComparisonResult.orderedAscending 
    }
  
  }
  </code></pre>