Example #1
0
        public static void Main(string[] args)
        {
            string weights = "1 200 2 4 4 6 6 7 7 9 27 18 72 81 91 425 31064 7920 67407";

            weights = WeightSort.OrderWeight(weights);
            Console.WriteLine(weights);
        }
Example #2
0
        static void Main(string[] args)
        {
            Console.WriteLine(WeightSort.orderWeight("103 123 4444 99 2000"));

            Console.ReadKey();
        }
Example #3
0
 static void Main(string[] args)
 {
     Console.WriteLine(WeightSort.OrderWeight("103 123 4444 99 2000 180"));
     Console.WriteLine(WeightSort.OrderWeight("11 11 2000 10003 22 123 1234000 44444444 9999"));
     Console.WriteLine(WeightSort.OrderWeight("11 2 3 111 1111 4 22"));
 }
Example #4
0
 static void Main(string[] args)
 {
     Console.WriteLine(WeightSort.OrderWeight("56 65 74 100 99 68 86 180 90"));
 }