InvalidOperationException 在 System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer) 在 System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer) 在 System.Collections.Generic.List`1.Sort(Comparison`1 comparison) 在 Quicker.Utilities.Ext.CollectionExt.Sort[T](ObservableCollection`1 collection, Comparison`1 comparison) 在 Quicker.View.X.XActionUiHelper.SortVariableListByType(ObservableCollection`1 variables) 在 Quicker.View.X.Controls.VariableListControl.Ihx6gR4HSI9(Object , RoutedEventArgs ) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) InvalidOperationException 尚未设置 Order 属性。使用 GetOrder 方法获取值。 在 System.ComponentModel.DataAnnotations.DisplayAttribute.get_Order() 在 Quicker.View.X.XActionUiHelper.gbc6in5o6KF(VarType ) 在 Quicker.View.X.XActionUiHelper.<>c.U6Qvid0ySGssVYDUu9cD(VarType ) 在 Quicker.View.X.XActionUiHelper.<>c.cu8Sl3madsr(ActionVariable a, ActionVariable b) 在 System.Collections.Generic.ArraySortHelper`1.InsertionSort(T[] keys, Int32 lo, Int32 hi, IComparer`1 comparer) 在 System.Collections.Generic.ArraySortHelper`1.IntrospectiveSort(T[] keys, Int32 left, Int32 length, IComparer`1 comparer) 在 System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)