add option to display entries in reverse order