[Bug] Milestones starting with a number are ordered differently depending on the view

When you have milestones named in a form of:

1. {name}
2. {name}
...
10. {name}
11. {name}

Scenario 1:
Steps:

  • Open https://github.com/{ORG}/{PROJECT}/issues
  • Click milestones dropdown

Then:

  • Milestones are ordered in the following format: 1,2 … 10, 11

Scenario 2:
Steps:

  • Open https://github.com/{ORG}/{PROJECT}/issues/new
  • Click ‘Milestones’

Then:

  • Milestones are ordered in the following format: 1, 10, 11, 2…