Fixed index not being applied due to incorrect sort criteria
updated version for release