adding sort field to parseOptions