Sort endpoints by letter.

Merged from swagger-ui's index.html.

Previously, endpoints were sorted in the order they were defined.