Use reversed unique IDs in Mongo DB for better performance?
<p>I have a big mass of IDs that begin with the same prefix. Does it make sense to reverse the IDs for better performance?</p>

<p>For example when I have this datetime-based IDs:</p>

<pre><code>2016-01-02_15:01:23.001-a
2016-01-02_15:01:23.001-b
2016-01-02_15:01:23.001-c
...
</code></pre>

<p>I would assume that the following IDs with reversed parts</p>

<pre><code>a-001.23:01:15_02-01-2016
b-001.23:01:15_02-01-2016
c-001.23:01:15_02-01-2016
</code></pre>

<p>should be the better solution because mongo begins parsing IDs on the left.</p>

<p>Right?</p>

<p>Thank you</p>