fn sort(vm: &mut VM, self_val: Value, args: &Args2) -> VMResult {
    //use std::cmp::Ordering;
    args.check_args_num(0)?;
    let mut ary = self_val.expect_array("Receiver")?.to_vec();
    match &args.block {
        None => {
            vm.sort_array(&mut ary)?;
        }
        Some(block) => {
            vm.sort_by(&mut ary, |vm, a, b| {
                vm.eval_block2(block, *a, *b)?.to_ordering()
            })?;
        }
    };
    Ok(Value::array_from(ary))
}
## instance method Array#sort
- Array#sort -> Array
- Array#sort { |a, b| .. } -> Array

https://docs.ruby-lang.org/ja/latest/method/Array/i/sort.html
ruruby/src/builtin/array.rs