#1253: Transformation crashes on typehint

The `sort_asc` filter crashes if the provided value is not of type Collection.
Although we do not expect this to be passed should the filter not crash. As such
I have changed the call to just return the current value if it is not a collection
Merge pull request #1273 from mvriel/feature/1253

#1253: Transformation crashes on typehint