From this view currently, I could get the expertise ordered by custom field "exp-id", which could be set on the view setting page.
What I want to do here is to set the order by 'wpcf-prof-exp-order' string value.
For example, if 'wpcf-prof-exp-order' has the string value of "304,502,103,104",
the current view shows 'exp-id'=103, 'exp-id'=104, 'exp-id'=305,'exp-id'=502.
What i want to show => 'exp-id'=304, 'exp-id'=502, 'exp-id'=103, 'exp-id'=104
Is it possible by adding custom function and if so, could you help me doing this?
Unfortunately you wouldn't be able to sort this view by the "wpcf-prof-exp-order" field given that the post type that this view displays doesn't have the wpcf-prof-exp-order sort order field if I remember correctly.
Also even if you were able to sort the view by this field, you won't be able to get it to sort like this " 'exp-id'=304, 'exp-id'=502, 'exp-id'=103, 'exp-id'=104".
As you can see this sort order is neither Ascending or Descending. It is essentially a random order.