Bugfix for issue #1517

The join on select options was originally by Tobias, and was intended to show multiple values divided by a `/`. `getSortOrder` currently does nothing for sorting with multiple sorting options.

Fixes #1517.