@@ -13,15 +13,15 @@ public static IEnumerable<ILexEntry> ApplyHeadwordOrder(this IEnumerable<ILexEnt
1313 return entries
1414 . OrderBy ( e => e . LexEntryHeadword ( sortWsHandle , applyMorphTokens : false ) )
1515 . ThenBy ( e => e . PrimaryMorphType ? . SecondaryOrder ?? stemSecondaryOrder )
16- . ThenBy ( e => e . HomographNumber )
16+ // .ThenBy(e => e.HomographNumber)
1717 . ThenBy ( e => e . Id . Guid ) ;
1818 }
1919 else
2020 {
2121 return entries
2222 . OrderByDescending ( e => e . LexEntryHeadword ( sortWsHandle , applyMorphTokens : false ) )
2323 . ThenByDescending ( e => e . PrimaryMorphType ? . SecondaryOrder ?? stemSecondaryOrder )
24- . ThenByDescending ( e => e . HomographNumber )
24+ // .ThenByDescending(e => e.HomographNumber)
2525 . ThenByDescending ( e => e . Id . Guid ) ;
2626 }
2727 }
@@ -42,7 +42,7 @@ public static IEnumerable<ILexEntry> ApplyRoughBestMatchOrder(this IEnumerable<I
4242 . ThenBy ( x => x . Headword ? . Length ?? 0 )
4343 . ThenBy ( x => x . Headword )
4444 . ThenBy ( x => x . Entry . PrimaryMorphType ? . SecondaryOrder ?? stemSecondaryOrder )
45- . ThenBy ( x => x . Entry . HomographNumber )
45+ // .ThenBy(x => x.Entry.HomographNumber)
4646 . ThenBy ( x => x . Entry . Id . Guid )
4747 . Select ( x => x . Entry ) ;
4848 }
@@ -54,7 +54,7 @@ public static IEnumerable<ILexEntry> ApplyRoughBestMatchOrder(this IEnumerable<I
5454 . ThenByDescending ( x => x . Headword ? . Length ?? 0 )
5555 . ThenByDescending ( x => x . Headword )
5656 . ThenByDescending ( x => x . Entry . PrimaryMorphType ? . SecondaryOrder ?? stemSecondaryOrder )
57- . ThenByDescending ( x => x . Entry . HomographNumber )
57+ // .ThenByDescending(x => x.Entry.HomographNumber)
5858 . ThenByDescending ( x => x . Entry . Id . Guid )
5959 . Select ( x => x . Entry ) ;
6060 }
0 commit comments