<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _config_sortable(self, sortable):
 """Configure a new sortable state"""

        for col in self["columns"]:
            command = (lambda c=col: self._sort_column(c, True)) if sortable else ""
            self.heading(col, command=command)
        self._sortable = sortable