ng>  The random number generator to use when shuffling
  the sequence.
<strong>Returns:</strong> An array of this sequence&#39;s elements in a shuffled order.</p>

<p><strong>Complexity:</strong> O(<em>n</em>)</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func shuffled&lt;T&gt;(using generator: inout T) -&gt; [LazyDropWhileSequence&lt;Base&gt;.Element] where T : RandomNumberGenerator</code>
    
        <h4>Declared In</h4>
        <a href="../../protocol/Sequence/"><code>Sequence</code