sort the paths

I didn't want to have to do this, but there's no easy way to reorder
them through mysql_config_editor. I guess I could come up with my own
ordering scheme, but that really seems like too much work.
make the options 1-indexed