Commit 9da8c7e
committed
fix: apply numeric-aware sorting before limit in formatAndCombineResults
The previous implementation removed sorting entirely, which caused version-numbered files to be excluded when directories had 200+ files. This fix applies numeric-aware sorting (using localeCompare with numeric option) before the limit is applied, ensuring proper ordering of version sequences like v3.25, v3.25.1, v3.25.2, etc.1 parent ab481ea commit 9da8c7e
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
605 | | - | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
606 | 618 | | |
607 | 619 | | |
608 | 620 | | |
| |||
0 commit comments