<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sort_func(variant=VARIANT1, case_sensitive=False):
 """A function generator that can be used for sorting. All keywords are passed to `normalize()` and generate keywords that can be passed to `sorted()`:: [u'far', u'fur'] Please note, that `sort_func` returns a function. """

    return lambda x: normalize(
        x, variant=variant, case_sensitive=case_sensitive)