Skip to content

Sort by path gives incorrectly sorted results #4699

Open
@rajputa-deshaw

Description

@rajputa-deshaw

Describe the bug
The order of results when sorted by path is not correct. The results are not sorted alphabetically by path. Below is a screenshot of the results.

OpenGrok version: 1.12.6
JDK: openjdk 17.0.6 2023-01-17
OS: Red Hat Enterprise Linux release 8.10 (Ootpa)
Tomcat version: Apache Tomcat/10.1.30

Expected behavior
The order of results when sorted by path should be:

  1. /infra:base/src/appl/...
  2. /infra:base/src/perl/...
  3. /infra:base/src/python/...

Screenshots
opengrok_sorted_by_path

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions