Fixed example with ascending/descending ordering