Rselect! takes an array and an order statistic in range (0, len(array)) where 0 returns the smallest element and len(array) returns the largest.