Avoid Angular.js orderBy default sorting
<p>I'm new to Angular and I'm still trying to get my head around what's possible, so this may be a question with an obvious answer, but I can't find any relevant answers online.</p>

<p>I have a <code>switch statement</code> that decides which value to return to <code>orderBy</code>, and <code>orderBy</code> correctly ranks a list of objects according to the value returned. However, I want the <code>default</code> case of my <code>switch statement</code> to ensure that <code>orderBy</code> does nothing to the order of the list of objects.</p>

<p>However, it seems that <code>orderBy</code> has default functionality that orders the list its own way if you give it no value.</p>

<p>I've tried various ways to get it to work:</p>

<p><code>default: return;</code> returns nothing and <code>orderBy</code> uses its default ordering.</p>

<p><code>default:break;</code> returns nothing and <code>orderBy</code> uses its default ordering</p>

<p><code>default: return [];</code> and <code>return ['']</code> I thought an empty array would be recognised as an argument, and would get around this, but it still uses the default ordering.</p>

<p><code>default: return [':false'];</code> I thought passing some value in (reverse:false) would override the default ordering but I get an error for this.</p>

<p>I also set it up to use <code>orderBy: $index track by $index</code> - I thought it would just order it by the original index of the array. This didn't work.</p>

<blockquote>
  <p>Does anyone know an argument I can pass into <code>orderBy</code> to get it to do
  nothing at all to a list, or how I can override the default sorting.</p>
</blockquote>