#14 #7 Adding support for querying by index range key and modifying sorting criteria to accommodate