Skip to content

Provide the ability to sort implemented/re-implemented list #10776

@scott-zhong

Description

@scott-zhong

Describe the bug
The implemented/re-implemented list is not sorted. See the following testcase

/**
 * Base docs
 */
class Base {
public:
    /**
     * fun docs
     */
    virtual void fun() = 0;
};

/**
 * C docs
 */
class C : public Base {
public:
    /**
     * fun docs
     */
    virtual void fun();
};

/**
 * A docs
 */
class A : public Base {
public:
    /**
     * fun docs
     */
    virtual void fun();
};

/**
 * B docs
 */
class B : public Base {
public:
    /**
     * fun docs
     */
    virtual void fun();
};

The list shows Implemented in C, A and B. It looks like the list is populated based on when the class is parsed. If the derived classes are implemented across multiple files, the order could be different depending on when the files are first parsed. It would be helpful to provide the ability to sort the lists to allow simpler diff between two different versions of Doxygen.

Screenshots
image

To Reproduce
test_doxygen.zip

Expected behavior
I would like to have list ordered, i.e., Implemented in A, B and C.

Version
1.8.9.1 - 1.10.0, also on trunk (cbb48ed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions