tuple_select_rank — Select the element of rank n of a tuple.
tuple_select_rank sorts the elements of the tuple Tuple and returns the element of rank n in Selected. RankIndex determines the index of the element to select. Thus, RankIndex may only contain integer values (any floating point number in RankIndex must represent an integer value without fraction). Indices of tuple elements start at 0, i.e. the lowest tuple element has the index 0.
Rank of the element to select.
Selected tuple element.