Description
When expanding the model tree from MDM UI and expanding a data model to view data classes below, the order is not alphabetical.
Steps to reproduce
- Create a data model with data classes. Ensure a mix of data class labels beginning with different letters.
- Use the endpoint
GET /api/tree/folders/dataModels/{dataModelId}
- Check the order of data classes returned.
Expected behavior
The returned list should always be in ascending alphabetical order. Currently it seems non-deterministic.
Related
Note also that this might be a fixed issue, but NHSE have raised a UI issue too - read the linked issue for more details.