.net core 動態orderby -按輸入參數排序 先簡單介紹一下基礎語法 IQueryable<xxx> query = ...; query.OrderBy(u => u.Code); 但假如我們想寫一個方法,預先並不知道 ...