Pre-sorts an incoming data connection. pre_sort may only be called during pi_add_incoming_connection.
pre_sort((str)incoming_connection_type, (str)incoming_connection_name,
(str)sort_info) -> None :
- incoming_connection_type: The type of the connection.
- incoming_connection_name: The name of the connection.
- sort_info: The XML text that defines the fields to sort and optionally filter the input data by.
Write the XML string in the format:
<SortInfo>
<Field field="SortField1" order="Asc" />
<Field field="SortField2" order="Desc" />
...
</SortInfo>
<FieldFilterList>
<Field field="FilterField1" />
<Field field="FilterField2" />
...
</FieldFilterList>
If the FieldFilterList section is not specified, all fields are passed through.