//IEnumerable<SelectListItem> _invoiceList = from r in
// (Context.FUE_FUEL_DETAIL
// .GroupBy(c => c.INVOICE_NUMBER)
// .OrderBy(x => x.Count())
// .Select((g, rank) => new { INVOICE_NUMBER = g.Key, Count = g.Count(), INVOICE_ID = rank }).ToList())
// select new SelectListItem
// {
// Text = r.INVOICE_NUMBER.ToString().TrimEnd(),
// Value = r.INVOICE_ID.ToString()
// };