单字段
.OrderBy(p => p.Status).ToList();

 

多字段

.OrderBy(p => p.Status).ThenByDescending(p=>p.ApplyTime).ToList();

//注: .ThenBy正序    .ThenByDescending倒序

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
  • 2021-10-17
  • 2022-01-17
猜你喜欢
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案