fn sort_dictionary<K: ArrowDictionaryKeyType>( dict: &DictionaryArray<K>, value_indices: Vec<u32>, null_indices: Vec<u32>, options: SortOptions, limit: Option<usize>, ) -> Result<UInt32Array, ArrowError>