blob: 43e36513de881d11339c1ca66cabe9084ba85213 (
plain) (
blame)
1
2
3
4
|
sort_array(array(obj1, obj2,...)) - Sorts the input array in ascending order according to the natural ordering of the array elements.
Example:
> SELECT sort_array(array('b', 'd', 'c', 'a')) FROM src LIMIT 1;
'a', 'b', 'c', 'd'
|