This bar plot sorts numbers as strings which is great until we get a category with only numbers and 2 gets sorted as being higher than 19. The obvious solution is to check whether the string is a number and sort it as a number if it is, but then we get weird things like what happens if some items in a category are strings and some are numbers? Maybe checking the entire field to see if all the labels are numbers would be best? Would be frustrating if there were N/A or None entries that messed up the sorting of the entire category though.
This bar plot sorts numbers as strings which is great until we get a category with only numbers and 2 gets sorted as being higher than 19. The obvious solution is to check whether the string is a number and sort it as a number if it is, but then we get weird things like what happens if some items in a category are strings and some are numbers? Maybe checking the entire field to see if all the labels are numbers would be best? Would be frustrating if there were N/A or None entries that messed up the sorting of the entire category though.