Ensure that options are being sorted correctly