Utility library for expanding, sorting and eliminating duplicates in number ranges