<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _to_solr(self, data):
        '''
        Sends data to a Solr instance.
        '''
        return self._dest.index_json(self._dest_coll, json.dumps(data,sort_keys=True))