Paths file processing

And yet ANOTHER option:

sorted() produces an iterator that gives you the items in sorted order, so you could do:

for index, desc in sorted(option_list):

and you can pass in a key if the default sort order isn't right.