C#配列のソート

配列のソート

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleTest
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("test");
            //Console.ReadLine();

            object[] data2 = new object[] { 2, "bb", 4 };
            object[] data1 = new object[] { 1, "aa", 4 };
            object[] data3 = new object[] { 3, "cc", 3 };
            object[] data4 = new object[] { 3, "dd", 4 };
            object[] data5 = new object[] { 3, "ee", 1 };
            
            object[][]data_all = new object[5][];
            data_all[0] = data1;
            data_all[1] = data2;
            data_all[2] = data3;
            data_all[3] = data4;
            data_all[4] = data5;

            foreach (var item in data_all.OrderBy(da => da[2]).ThenBy(da => da[1]))
            {
                Console.WriteLine(item[0] + " " + item[1] + " " + item[2]);                
            }

            Console.ReadLine();
        }
    }
}