Introduces sorting capabilities within the Redner substitution
Note that we implemented sorting functionality and added unit tests. The changes include: - Creation of a new utility file `utils/sorting.py` implementing sorting functionalities such as : `find_field_with_sort_order`, `parse_fields_with_sort_directions`, and `sortkey`. - Addition of a new file `tests/test_sorting.py` containing unit tests for sorting logic.
Showing
- NEWS.rst 1 addition, 0 deletionsNEWS.rst
- models/redner_substitution.py 6 additions, 1 deletionmodels/redner_substitution.py
- tests/__init__.py 6 additions, 1 deletiontests/__init__.py
- tests/test_sorting.py 73 additions, 0 deletionstests/test_sorting.py
- utils/sorting.py 137 additions, 0 deletionsutils/sorting.py
Loading
Please register or sign in to comment