Add setSelect() api function; fix signature of setSortMode()

The sphinx call `setSelect()` is currently completely missing.  Also, `setSortMode()` will throw if the default argument is used (a string is expected).