( left: string, right: string, direction: SortDirection )
| 139 | } |
| 140 | |
| 141 | function compareDisplaySortStrings( |
| 142 | left: string, |
| 143 | right: string, |
| 144 | direction: SortDirection |
| 145 | ): number { |
| 146 | return direction === "asc" |
| 147 | ? compareRankStringsForBases(left, right) |
| 148 | : compareRankStringsForBases(right, left); |
| 149 | } |
| 150 | |
| 151 | function isCandidateInDisplayPosition( |
| 152 | candidate: string, |
no test coverage detected