Title: reverse year order
Last modified: August 21, 2016

---

# reverse year order

 *  Resolved [bsteinlo](https://wordpress.org/support/users/bsteinlo/)
 * (@bsteinlo)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/reverse-year-order/)
 * I currently have events from 2014, 2015 and 2016 and the bar at the top reads:
   
   All | Upcoming| 2016| 2015| 2014
 * I was wondering if was possible to reverse the order of the years so it is formatted
   as such:
    2014| 2015 | 2016
 * Is there an `array_reverse` function that I can run?
 * Thanks!
 * [https://wordpress.org/plugins/event-list/](https://wordpress.org/plugins/event-list/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [mibuthu](https://wordpress.org/support/users/mibuthu/)
 * (@mibuthu)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/reverse-year-order/#post-4990999)
 * There is no option for this now, but I will add it in the next version.
 * If you want to change it already now you can change line 111 in plugin-dir/includes/
   filterbar.php to:
 *     ```
       for($year=$first_year; $year<=$last_year; $year++) {
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘reverse year order’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/event-list_f8f8f8.svg)
 * [Event List](https://wordpress.org/plugins/event-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-list/)
 * [Active Topics](https://wordpress.org/support/plugin/event-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-list/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mibuthu](https://wordpress.org/support/users/mibuthu/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/reverse-year-order/#post-4990999)
 * Status: resolved