On Fri, 15 Mar 2024 15:00:40 GMT, Joel Uckelman <d...@openjdk.org> wrote:
>> So, changing the condition in the `if`-block from `special1 || special2` to >> `special1 && special2` makes the sorting order consistent because the >> relation is now *transitive*: >> >> >> a < b & b < c therefore a < c > > Hi, I'm the submitter of the original bug report. I can confirm that you got > the reason for the change exactly right. @uckelman Is there a way to reproduce the original bug in the user's environment? I think there's a bug in JDK which leads to two _Documents_ folders in the list. If the bug is still reproducible, collecting more data will help us identify the problem and fix it. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18126#discussion_r1533767996