Secondary sorting is ineffective for entries with the same displayed install date
维护者通常 1 天内回复
评估
调研方向
找到绑定到 InstallDate 并使用 Language.Date_Format ({0:d}) 格式化的网格列,然后将其排序键与使用 InstallDate?.Date 的现有分组逻辑进行比较。首先在项目中定位这些引用。完成标准是:按安装日期、再按版本排序时,显示日期相同的条目按版本排序,同时保留日期显示方式。
由索引模型根据 Issue 内容生成。
描述
Title
Secondary sorting is ineffective for entries with the same displayed install date
Description
The Install Date column displays only the date, but sorting uses the full timestamp, including the time and fractional seconds.
As a result, entries with the same displayed install date are ordered by their hidden timestamps. A secondary sort criterion, such as Version, is only applied when the full timestamps match exactly.
This makes it difficult to sort drivers by install date and then by version within each day.
Steps to reproduce
- Find multiple driver entries with the same displayed Install Date but different versions.
- Click the Install Date column header to sort in ascending order.
- Hold Shift and click the Version column header to set version as the secondary sort criterion in ascending order.
Expected behavior
Entries with the same displayed install date should be sorted by version in ascending order.
For example:
| Install Date | Version |
|---|---|
| 2026/10/06 | 1.0 |
| 2026/10/06 | 2.0 |
| 2026/10/06 | 3.0 |
Actual behavior
Entries are sorted by their full install timestamps, even though the time is not displayed. Version sorting only takes effect when those timestamps match exactly.
For example, entries with these underlying values would appear in this order:
| Displayed Install Date | Hidden Time | Version |
|---|---|---|
| 2026/10/06 | 09:00:00 | 3.0 |
| 2026/10/06 | 10:00:00 | 1.0 |
| 2026/10/06 | 11:00:00 | 2.0 |
Although all three entries display the same install date, they are not ordered by version.
Implementation details
The column is bound to InstallDate and formatted using Language.Date_Format ({0:d}), which displays only the date. Sorting therefore compares the full DateTime value rather than the displayed date.
The grouping logic already uses InstallDate?.Date, so grouping and sorting use different levels of precision.
Suggested improvement
Use the date-only value (InstallDate?.Date) as the sort key for the Install Date column, so that secondary sorting applies to entries installed on the same day.
- 主要语言
- C#
- 星标
- 11.9k
- 派生
- 563
- 平均合并
- 19 小时 32 分钟
- 30 天内合并 PR
- 13
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
lostindark/DriverStoreExplorer 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
lostindark/DriverStoreExplorer#477 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
lostindark/DriverStoreExplorer#454 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
lostindark/DriverStoreExplorer#439 ·
维护者通常 1 天内回复
-
feature request
难度 5/5 一周以上 新手友好度 25/100
lostindark/DriverStoreExplorer#399 · 1 个 reaction ·
维护者通常 1 天内回复
-
feature request
难度 3/5 1-2 天 新手友好度 35/100
lostindark/DriverStoreExplorer#370 ·
维护者通常 1 天内回复
查看 lostindark/DriverStoreExplorer 的全部 Issue
相似的 Issue
-
bug ux
难度 2/5 1-3 小时 新手友好度 78/100
CodeForFire/lagebuch#714 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
dimitar-radenkov/Pointframe#294 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 61/100
Okabintaro/SubmersedVR#253 ·
-
S: Untriaged
难度 2/5 1-3 小时 新手友好度 60/100
维护者通常 2 天内回复
-
maintenance
难度 2/5 1-3 小时 新手友好度 62/100
hyjinx-emu/Hyjinx#398 ·
维护者通常 1 天内回复