title: Scala GroupBy preserving insertion order?
body: <p>The groupBy method in Lists, Maps, etc., generate a Map after the function. </p>
  
  <p>Is there a way to use the groupBy to generate a Map that preserves insertion order (LinkedHashMap, for instance)?</p>
  
  <p>I'm using for loops to insert manually, but I wanted to know if one of the useful already-defined functions could help me.</p>
  
  <p>Thanks in advance.</p>