preserves reversed sort while searching