I have an array which is dynamic, and key and values开发者_Python百科 are displaying in order if they are set. I want to display keys of this array in my own order, What kind of condition must I write in this case?
Take a look at the Core Utility Libraries, namely the sort() method of the Set class. Check for more info the cookbook.
精彩评论