Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- productions = productions.OrderBy(x=>x.UTGDATUM).ThenBy(x =>
- {
- if (x.BANDTYP.Contains("INB"))
- return 0;
- else if (x.BANDTYP.Contains("BDB"))
- return 1;
- else if (x.BANDTYP.Contains("KAR"))
- return 2;
- else if (x.BANDTYP.Contains("MJB"))
- return 3;
- else if (x.BANDTYP.Contains("HFT"))
- return 4;
- else if (x.BANDTYP.Contains("EBOK"))
- return 5;
- else if (x.BANDTYP.Contains("FLB"))
- return 6;
- else if (x.BANDTYP.Contains("DAB"))
- return 7;
- else if (x.BANDTYP.Contains("KAF"))
- return 8;
- else if (x.BANDTYP.Contains("KAK"))
- return 9;
- else if (x.BANDTYP.Contains("SPI"))
- return 10;
- else if (x.BANDTYP.Contains("HFR"))
- return 11;
- else if (x.BANDTYP.Contains("SPO"))
- return 12;
- else if (x.BANDTYP.Contains("POC"))
- return 13;
- else if (x.BANDTYP.Contains("CDA"))
- return 14;
- else if (x.BANDTYP.Contains("Mp3"))
- return 15;
- else if (x.BANDTYP.Contains("FIL"))
- return 16;
- else if (x.BANDTYP.Contains("LPO"))
- return 17;
- else if (x.BANDTYP.Contains("APP"))
- return 18;
- return 19;
- }).ToList();
Add Comment
Please, Sign In to add comment