title: How to get enum order?
body: <p>If I have enum:   </p>
  
  <pre><code>public enum ImportState : byte
  {
       None = 0,
       ImportedWithChanges = 44,
       AwaitingApproval = 45,
       Removing = 66,
       Revalidating = 99,
  };
  </code></pre>
  
  <p>How to get enum order?
  For example:</p>
  
  <pre><code>GetOrder(ImportState.None)
  </code></pre>
  
  <p>Should return 1(first in order)</p>
  
  <pre><code>GetOrder(ImportState.AwaitingApproval )
  </code></pre>
  
  <p>Should return  3 (third in order)</p>