[BUGFIX] Fix broken flags argument in SortViewHelper

- use arrayFromArrayOrTraversableOrCSV to split the sortFlags
- update documentation
- throw exception on unknown sortFlags
- fix sorting for empty string values