using System.Collections.Generic;
public static void Main()
string[] amountList = { "1.2", "1.4", "0.2", "-", "-0.005" };
var orders = new List<AmountList>();
foreach(var b in amountList)
new AmountList {value = (Double.Parse(b) * 0.33) };
new AmountList {value = (Double.Parse("0") * 0.33) };
var queryorder = from e in orders
orderby e.value descending
foreach (AmountList m in queryorder)
Console.WriteLine(m.value.ToString());
public double value { get; set; }