Percentile

Sorts the data and finds the value that a given share of it falls below. The 50th percentile is the median. When the rank is not a whole number, the value is interpolated between its two neighbours.