added a method to reverse the items in a comma-separated string. This is used by the X.509 certificate generation module.