added OrderbyDescending(b=>b.transactionDate) before take(5)
var dataTransfer2 = dataTransfer.Join(smlPortal.SML_QC_SokuteiRejectsTransaction, a => a.Id, b => b.SokuteiRejectId, (a, b) => new
{
a.Id,
a.PlasticNo,
a.LotNo,
b.transactionBy,
b.transactionNotes,
b.transactionType,
b.transactionDate,
}).Take(8).OrderByDescending(b => b.transactionDate).ToList();