title: Compare element order of two string list
body: <p>I have a first list of string : </p>
  
  <pre><code>"GENRE",
  "NATIONALITY",
  "PRODUCTION",
  "FIRSTYEAR",
  "LASTYEAR",
  "FILTER"
  </code></pre>
  
  <p>I have a second list of string:</p>
  
  <pre><code>"NATIONALITY"
  "LASTYEAR"
  "FILTER"
  </code></pre>
  
  <p>I would like to check if element in the second list (even if some element are missing) are in the same order as the first list.</p>
  
  <p>Example :</p>
  
  <pre><code>"NATIONALITY"
  "LASTYEAR"
  "FILTER"
  </code></pre>
  
  <p>must return TRUE and</p>
  
  <pre><code>"LASTYEAR"
  "NATIONALITY"
  "FILTER"
  </code></pre>
  
  <p>must return FALSE because "NATIONALITY" has to be before "LASTYEAR" accordingly to the first list</p>
  
  <p>I have tried to get index with "IndexOf" of each element but I don't know how to compare them effectively.</p>
  
  <p>Is a good to solution to use a Custom Comparer (implementing IComparer) in this case ? If yes how ? Is it better to use Enum to achieve this comparison ?</p>
  
  <p>Need help thanks in advance</p>