<p><a href="http://twig.sensiolabs.org/doc/filters/reverse.html" rel="nofollow">Reverse</a> it!</p>

<pre><code>&lt;ul&gt;
    {% for row in entry.myTableFieldHandle|reverse %}
        &lt;li&gt;{{ row.columnHandle }}&lt;/li&gt;
    {% endfor %}
&lt;/ul&gt;
</code></pre>

CC BY-SA 3.0
2015-11-12T22:33:41.643Z
2015-11-12T22:33:41.643Z
Brad Bell
<p>I could do with flipping the rows in a table, within a template. Is that possible?</p>

<table-field><table>
How to reverse the rows in a table?
# How to reverse the rows in a table?

(Asked by: username_0 on 2015-11-12)

I could do with flipping the rows in a table, within a template. Is that possible?

**Tags:** table-field, table


---

## 1 answers

### Answer by username_1 on 2015-11-12. Score: 3 | Accepted answer

Reverse it!

    {% for row in entry.myTableFieldHandle|reverse %}
        {{ row.columnHandle }}
    {% endfor %}


---

