Add functions to call sorts on values