Add a sorting functionality for the columns of to the duplicate code dialogue.
Analysis:
A custom handler has to be implemented because wxListCtrl doesn't support column-specific sorting. One may use the std::stable_sort from <algorithm>. To allow to return the sorting index rather than sorting the column itself, one has to implement a sorting struct, which overrides the int operator()(int, int) (see https://phoxis.org/2012/07/12/get-sorted-index-orderting-of-an-array/).
Implementation:
The functionality was implemented as proposed by the analysis. Implementation tests were passed successfully.
Documentation:
The new functionality was documented in the changes log. Further documentation not needed, because it is a self-explaining feature.
Tests:
The functionality was tested and no deviations were detected. New functionality implemented successfully.
Anonymous
Diff:
Diff:
Diff:
Diff: