col names are now sorted before return, so test cases may be a bit simpler