[BUGFIX] Fix broken flags argument in SortViewHelper

This commit fixes a bug in the SortViewHelper which prevented
the use of combined Flags like "SORT_FLAG_CASE | SORT_STRING" to properly
achieve caseinsensitive sorting.