public static TransitionStats ConvertFromDT(DataTable dt)
        {
            TransitionStats result = new TransitionStats();

            foreach (DataRow row in dt.Rows)
            {
                result.Add(TransitionStat.GetTransitionStat(row));
            }
            return(result);
        }
        public TransitionStats Sort(string column, bool desc)
        {
            var             sortedList = desc ? this.OrderByDescending(x => x.GetPropertyValue(column)) : this.OrderBy(x => x.GetPropertyValue(column));
            TransitionStats result     = new TransitionStats();

            foreach (var i in sortedList)
            {
                result.Add((TransitionStat)i);
            }
            return(result);
        }