Minor tweak to fetchRequired
sortOrder support for mock readFromIndexes
Minor optimization for indexing db mock