---
layout: default
---

<article class="hosts">
  <section>
    <div class="host-description">
      <h2>Linux Distros</h2>
      <p>Linux distributions take the Linux kernel combining it with other free software to create complete packages. Picking the one with the PHP version you need will save you time and headache.</p>
      <hr>
    </div>
    <table class="tables" data-sortable>
      <thead>
        <tr>
          <th>Distribution</th>
          <th>Default</th>
        </tr>
      </thead>
      <tbody>
      {% for distro in site.data.linux_distros %}
        <tr>
          <td class="host-name">{{ distro.name }}</td>
          <td class="host-info">{{ distro.default }}</td>
        </tr>
      {% endfor %}
      </tbody>
    </table>
  </section>
</article>

---
layout: default
---

<article class="hosts">
  <section>
    <div class="host-description">
      <h2>Linux Distros</h2>
      <p>Linux distributions take the Linux kernel combining it with other free software to create complete packages. Picking the one with the PHP version you need will save you time and headache.</p>
      <hr>
    </div>
    <table class="tables" data-sortable>
      <thead>
        <tr>
          <th>Distribution</th>
          <th>Default</th>
        </tr>
      </thead>
      <tbody>
      {% assign linux_distros = (site.data.linux_distros | sort: 'default') %}
      {% for distro in linux_distros reversed %}
        <tr>
          <td class="host-name">{{ distro.name }}</td>
          <td class="host-info">{{ distro.default }}</td>
        </tr>
      {% endfor %}
      </tbody>
    </table>
  </section>
</article>

Sort linux distros by default version
Sort linux distros by default version
