fn sort_run_downcasted<R: RunEndIndexType>( values: &dyn Array, options: Option<SortOptions>, limit: Option<usize>, ) -> Result<ArrayRef, ArrowError>