title: Iterating over a sorted hashtable with Select-String includes blank lines?
body: <p>I'm trying to extract certain values from a sorted hash table using <code>Select-String</code>.</p>
  
  <p>This works, but why are there extra blank lines in the output?</p>
  
  <pre><code>cls
  
  $fruits = @{"1" = "apple"; "2" = "lemon"; "3" = "orange"; "4" = "apricot"}
  
  foreach ($fruit in $fruits.GetEnumerator() | Sort-Object Value) {
      $fruit.Value | Select-String -pattern "ap" -SimpleMatch
  }
  </code></pre>