Sort: Make `ignore_unmapped` work for cross-index queries.

Close #2255
I added a setter with a String parameter but there was already also one with a boolean parameter. So I made the variable an object internally so that it can be either a Boolean or a String.