title: lodash's .sortedUniq() doesn't seem to remove duplicates. How does it work?
body: <p>Given <code>someArr</code>, (an array of <code>php</code> timestamps, which will later be converted to <code>javascript</code> timestamps (<code>*=1000</code>)), I was expecting <code>lodash</code>s...</p>
  
  <pre><code>_.sortedUniq(someArr)
  </code></pre>
  
  <p>to remove all duplicate values, giving the same result as </p>
  
  <pre><code>Array.from(new Set(someArr))
  </code></pre>
  
  <p>Could anyone explain why <a href="https://lodash.com/docs/4.17.4#sortedUniq" rel="nofollow noreferrer"><code>.sortedUniq()</code></a> doesn't remove duplicates? I also tried <code>_.uniq()</code>, for that matter. Is my assumption wrong? Is there something wrong with my dataset?</p>
  
  <p>Here's the <a href="https://jsfiddle.net/websiter/Lydk7euc/" rel="nofollow noreferrer"><code>mcve</code></a>.<br>
  The question itself refers to after I define <code>allVals</code>, but I've left the way I'm constructing it in, just in case there's something wrong with how I'm doing that. The initial dataset array is what's coming from <code>php</code> and, for the time being, is not negotiable in terms of structure.</p>
  
  <p>Please note that, while I do have a bit of exercise in <code>javascript</code>, I'm not a <em>"schooled"</em> programmer, I come from a design background and learned to code hands-on, so I'm not excluding the possibility that my grasp of certain programming patterns is not <code>100%</code> accurate.</p>
  
  <p>Thorough explanations are highly appreciated.</p>