Rename sort to sortutil.
Accept value struct for ToTextField().