Seperate range of numbers if in sequence by hyphen and if break in sequence occurs, then comma character
Separate range of numbers, if in sequence then by hyphen, and if break in sequence occurs then comma character