Return: sorted and deduplicated array of the range. TODO can it be implemented more efficient?
See Implementation
Return: sorted and deduplicated array of the range. TODO can it be implemented more efficient?