Answers.Body: <p>You can use the <a href="https://verbb.io/craft-plugins/super-table/docs/getting-elements/super-table-block-queries#orderBy" rel="nofollow noreferrer">orderBy</a> parameter to get super table blocks in the specified order. For example, if your super table field is called <code>countries</code> and the title field (that you store the country's name in) is called <code>country_title</code>, the code would look like this:</p>
  <pre><code>{% set alphabeticalCountries = entry.countries.orderBy('country_title').all() %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-08-02T12:18:29.693Z
Answers.LastActivityDate: 2021-08-02T12:18:29.693Z
Answers.UserDisplayName: MoritzLost
Body: <p>I have a supertable with over 79 repeater fields.</p>
  <p>Is there a way I can sort these fields in the frontend alphabetically?
  For example I have:
  Romania
  Germany
  Austria
  ...
  On the frontend I would like the list to be as
  Austria
  Germany
  Romania
  ...</p>
  
Tags: <craft3><plugin-supertable><sort>
Title: Sort Repeater fields alphabetically
ThreadText: # Sort Repeater fields alphabetically
  
  (Asked by: username_0 on 2021-08-02)
  
  I have a supertable with over 79 repeater fields.
  
  Is there a way I can sort these fields in the frontend alphabetically?
  For example I have:
  Romania
  Germany
  Austria
  ...
  On the frontend I would like the list to be as
  Austria
  Germany
  Romania
  ...
  
  **Tags:** craft3, plugin-supertable, sort
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2021-08-02. Score: 2 | Accepted answer
  
  You can use the [orderBy](https://verbb.io/craft-plugins/super-table/docs/getting-elements/super-table-block-queries#orderBy) parameter to get super table blocks in the specified order. For example, if your super table field is called `countries` and the title field (that you store the country's name in) is called `country_title`, the code would look like this:
  
  ```
  {% set alphabeticalCountries = entry.countries.orderBy('country_title').all() %}
  
  ```
  
  
  ---
  
  