Add sort_array function

This PR adds Hive's ``sort_array`` function that sorts the given array in ascending order according to the natural ordering of its elements (only if the array elements are Comparable).
This should be `orderableTypeParameter("E")` since the function only works for orderable types