How to sort a python list of arbitrary strings like Excel Column Names?
E.g. I have: x = ["Column a is…", "Column ab uses…", "Column b has…"] then I need to get: x = ["Column a is…", "Column b has…", "Column ab uses…"] >Solution : If the column identifier is guaranteed to be the second whitespace delimited token in each string then: x = ["Column a is…", "Column… Read More How to sort a python list of arbitrary strings like Excel Column Names?