Bugfix: correctly reflext the semantics of flag 'ascending'