4>
      
          <div id="comment" class="fullcommenttop"><div class="comment cmt"><p>Take the rank according to natural (input) order</p><pre>Vec(<span class="num">3</span>,<span class="num">6</span>,<span class="num">6</span>,<span class="num">4</span>).rank(tie = stats.RankTie.Nat) == Vec[<span class="std">Double</span>](<span class="num">1</span>,<span class="num">3</span>,<span class="num">4</span>,<span class="num">2</span>)</pre></div><div class="toggleContainer block">
          <span class="togg