added support for ScanIndexForward and actual range ordering on range items and not just the dictionaries