void PerformActionForStyleSheet(VisualElement destination, DestinationPane pane, int index = -1) { if (destination == null) { destination = BuilderSharedStyles.GetSelectorContainerElement(selection.documentRootElement); } BuilderAssetUtilities.ReorderStyleSheetsInAsset(paneWindow.document, destination); selection.NotifyOfHierarchyChange(); selection.NotifyOfStylingChange(null); selection.ForceReselection(); }