Sorted options and dependencies "properly".