Added helpful function to sort comma separated values.