Milestones API sorting

Problem to solve

currently we try to create some kind of internal analytics for our projects and needed to look at the last milestones ordered by title and check how many issues are not assigned to a milestone after that milestones.

however the sorting looks arbitrary to me. i.e. we have a milestone 7.5.0 that is in the middle between a range of 7.4.3, 7.4.2, 7.4.1, ..., 7.0.6, 7.5.0, 7.0.3?!

Currently our API "Query" is the following: api/v4/projects/1/milestones?per_page=100&state=closed. Unfortunatly there is no Order/Sort so we need to read as many milestones as possible and order the list by ourself.

Intended users

users who want to use the milestones in external systems

Proposal

allow

allow sorting via sort=desc&order_by=title in the project milestones api

Links / references

Edited by Christian Schmitt