SyntaxFix
Write A Post
Hire A Developer
Questions
Just sort the list when you want to use it.
l = sorted(d.keys())