Fix Issue 9616 - SortedRange should support all range kinds
Improved error messages
Fix Issue 9616 - SortedRange should support all range kinds
Improved error messages
review
rebased, fixed conflict
Added the text of the failing unittest
Fix failing win unittests
Merge pull request #2139 from monarchdodra/sortedrange

Fix Issue 9616 - SortedRange should support all range kinds