Sorting a list of lists in Common Lisp
|Added at||2016-12-17 17:12|
I'm trying to write some function to sort this type of list:
I found the built-in function sort in Common Lisp, but I can't do what I want.
I want to sort the list by the second element of each lists, alphabetically.
This is what I've done:
Anyway, I would understand how to sort a list with a specific function, using :key'.