I've added a helper function to sort names respective to the locale selected by the user.
The sorting is also Unicode (NFC normalization form) compatible.
I've added unit and integration testing for the new functionality.
I've implemented the sorting function in all actions which change the connections/credentials field.
Description of change
I've added a helper function to sort names respective to the locale selected by the user. The sorting is also Unicode (NFC normalization form) compatible. I've added unit and integration testing for the new functionality. I've implemented the sorting function in all actions which change the connections/credentials field.
Resources: https://sts10.github.io/2023/01/29/sorting-words-alphabetically-rust.html https://www.unicode.org/reports/tr15/#Norm_Forms
Links to any relevant issues
72
How the change has been tested
Tests can be found in
identity-wallet/unime/src-tauri/tests/tests/sorting.rs
Definition of Done checklist
Add an
x
to the boxes that are relevant to your changes.