fn op_sort( by: &str, desc: bool, input: &Value, step: usize, state: &mut State, ) -> Result<Value, TransformError>