@@ -31,7 +31,8 @@ public class CompareByType : Comparer<CodeExplorerItemViewModel>
31
31
{
32
32
private static readonly Dictionary < DeclarationType , int > SortOrder = new Dictionary < DeclarationType , int >
33
33
{
34
- // Some DeclarationTypes we want to treat the same, like Subs and Functions.
34
+ // Some DeclarationTypes we want to treat the same, like Subs and Functions,
35
+ // or Property Gets, Lets, and Sets.
35
36
// Give them the same number.
36
37
{ DeclarationType . LibraryFunction , 0 } ,
37
38
{ DeclarationType . LibraryProcedure , 0 } ,
@@ -41,10 +42,10 @@ public class CompareByType : Comparer<CodeExplorerItemViewModel>
41
42
{ DeclarationType . Constant , 4 } ,
42
43
{ DeclarationType . Variable , 5 } ,
43
44
{ DeclarationType . PropertyGet , 6 } ,
44
- { DeclarationType . PropertyLet , 7 } ,
45
- { DeclarationType . PropertySet , 8 } ,
46
- { DeclarationType . Function , 9 } ,
47
- { DeclarationType . Procedure , 9 }
45
+ { DeclarationType . PropertyLet , 6 } ,
46
+ { DeclarationType . PropertySet , 6 } ,
47
+ { DeclarationType . Function , 7 } ,
48
+ { DeclarationType . Procedure , 7 }
48
49
} ;
49
50
50
51
public override int Compare ( CodeExplorerItemViewModel x , CodeExplorerItemViewModel y )
0 commit comments