Sorts elements of each array pixel along one axis.
Array image to sort.
|Image, default: null|
Optional keys to sort by. If not provided, the values are used as the keys. The keys can only have multiple elements along one axis, which determines the direction to sort in.