title: List Sorting numbers in Descending Order
body: <p>I have a List that is not sorting at all. I used the .Sort and is not working. I want the numbers to sort in Descending order. 9,6,4,3,2</p>
  
  <pre><code> List&lt;string&gt; tem = new List&lt;string&gt;();
   using (SqlConnection cs = new SqlConnection(connStr))
   {
         cs.Open();
  
         for (int x = 0; x &lt; length; x++)
         {
             SqlCommand select = new SqlCommand("spTicketIssuance_GetTransactions", cs);
                  select.CommandType = System.Data.CommandType.StoredProcedure;
                  select.Parameters.AddWithValue("@TransDesc", TransType[x]);
  
              SqlDataReader dr = select.ExecuteReader();
  
              while (dr.Read())
              {
                  tem.Add(dr["TransTime"].ToString()); //Adds all Transaction in the multiline textbox and adds them to List  TransList
              }
              dr.Close();
         }
              tem.Sort(); //NOT SORTING
              cs.Close();
          }
  </code></pre>