title: How to sort values in columns and update table?
body: <p>I'm completely new to sql and can't do that myself. So I need your help.
  I want to sort values in column and then save changes. But I don't know how to do that.</p>
  
  <p>Table looks like that:</p>
  
  <pre><code>Id | Name | SomeDescription
  ---------------------------
  1  |Best  | Description1
  2  |Worth | Description2
  3  |Good  | Description3
  </code></pre>
  
  <p>I want to get something like that:</p>
  
  <pre><code>Id | Name | SomeDescription
  ---------------------------
  1  |Best  | Description1
  2  |Good  | Description3
  3  |Worth | Description2
  </code></pre>
  
  <p>So I need to sort "id" and "name" columns.</p>
  
  <p>I use following statement to sort values of "name" column:</p>
  
  <pre><code>SELECT * FROM games ORDER BY name ASC
  </code></pre>
  
  <p>But how can I sort the values of id column and save changes in table?
  Please, help.</p>