Implemented option to display in reverse order