<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_proxy_model(self, model):
 """Create a sort filter proxy model for the given model :param model: the model to wrap in a proxy :type model: :class:`QtGui.QAbstractItemModel` :returns: a new proxy model that can be used for sorting and filtering :rtype: :class:`QtGui.QAbstractItemModel` :raises: None """

        proxy = ReftrackSortFilterModel(self)
        proxy.setSourceModel(model)
        model.rowsInserted.connect(self.sort_model)
        return proxy