This is the code that I used, but the ASC or DESC makes no difference
issue in structure("new project","[ issuetype = 'Project Milestone ' ORDER BY duedate ASC]")
The JQL command does sort if run on its own
issuetype = "Project Milestone " ORDER BY duedate ASC