java - Iterate in reverse in thymeleaf -


i'm trying iterate list in reverse in thymeleaf, th:each iteration seems go forward. array sorted least greatest, , create dom objects in greatest least. here have:

<li th:each="option : ${upgradeoptions}">   <div class="billing__product-option">     <div class="billing__product-duration" th:text="${...}">3 months</div>     <div class="billing__payment-subtotal" th:text="${...}">$25</div>     <div class="billing__payment-monthly-charge" th:text="${...} + tax')">$25</div>     <div class="billing__payment-discount""></div>     <input class="billing__button" type="button" value="select" />   </div> </li> 

any ideas?


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -