['7', 'Google', '100T', 'Chrome', '10', 'Python']
I'd like the result to be all numbers at the end and the rest sorted. The numbers need not be sorted.
Chrome
Google
Python
100T
7
10
It's slightly more complicated though, because I sort a dictionary by value.
def sortname(k): return get[k]['NAME']
sortedbyname = sorted(get,key=sortname)
I only added 100T after both answers were posted already, but the accepted answer still works with a slight modification I posted in a comment. To clarify, a name matching ^[^0-9] should be sorted.