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).
move these two to static fields, and use ObjectMapperProvider to get an ObjectMapper, like MapKeys does