Fixed recent issue with IN and NOT IN feature to split String value by comma
Improved code to get field type to do it after the fieldName for order by is stripped