Reorder dep spec types by frequency