title: switch case on integer with priority
body: <p>exhausted noob here. I have basically 2 questions...</p>
  
  <p>Sorry for clarification the switches are inside a loop which gets a bunch of numbers and then sorts them using OrderByDescending(). My problem is now I dont know which numbers there are, I only know that they are ordered by descending. Now I have a priority on numbers some specific number is more important for me than other (there is no rule or logic behind that). But on the other hand none of the numbers I am looking for could be inside, so as a "default" return or work with the highest number there was inside the collection.</p>
  
  <p>1: are switch-cases order sensitiv?
  Assuming I switch on a range of 1 to 5 and for me 4 is of higher priority than the rest would that work as intended?</p>
  
  <pre><code>switch(number)
  {
  case 4: DoFancyStuff(); break;
  case 3: NotTooFancy(); break;
  case 1: StillOk(); break;
  case 2: Bad(); break;
  case 5: SuperBad(); break;
  default:break;
  }
  </code></pre>
  
  <p>Anyway, further lets assume number is ordered by descending. But I do not now know the possible range of <code>number</code>, it could be 2, 4, 8, 16, and so on but a number could be missing: 2, 4, 16, ...</p>
  
  <p>So if I have to say</p>
  
  <pre><code>switch(number)
  {
  case 32: Nice(); break;
  case 64: OkToo(); break;
  case 128: Nah(); break;
  case 8: OkStillTakeIt(); break;
  default: break;
  }
  </code></pre>
  
  <p>So as the numbers are ordered by descending order the big ones come first but they do not have the highest priority there could be a number coming with the highest (priority) one (first case) but it also does not have to... and if none fits I want to take the highest one but that is "lost".</p>
  
  <p>How do I fix that? Or am I just overthinking? Wrong approach? My brain is exploding from thinking about it.</p>