Set sort options.