Global PHP "sort through" vs other fields
It has to be supported by the module supplying the field. In hook_views_data(), each defined field has a 'sort' element that defines the sort handler function for the field.