introduce orderBy option