The easiest way I can think of is to use Linq:
List<Order> SortedList = objListOrder.OrderBy(o=>o.OrderDate).ToList();
Related Posts:
- Sort list by field (C#)
- Remove duplicates from a List
in C# - How do I clone a generic list in C#?
- finding the maximum length of lists in c#
- foreach vs someList.ForEach(){}
- How can I find a specific element in a List
? - Check if list is empty in C#
- C# List
to string with delimiter - Convert a list of strings to a single string
- How to initialize a list of strings (List
) with many string values - Select distinct using linq
- Are 2 dimensional Lists possible in c#?
- IEnumerable vs List – What to Use? How do they work?
- How to easily initialize a list of Tuples?
- Merge two (or more) lists into one, in C# .NET
- Converting from IEnumerable to List
- ArrayList vs List<> in C#
- How do you sort a dictionary by value?
- finding the maximum length of lists in c#
- How to split() a delimited string to a List
- How to add List<> to a List<> in asp.net [duplicate]
- Linq select objects in list where exists IN (A,B,C)
- C# Convert List
to Dictionary - How to solve Operator ‘!=’ cannot be applied to operands of type ‘T’ and ‘T’
- Quickest way to compare two generic lists for differences
- Best way to randomize an array with .NET
- What is IP address ‘::1’?
- What is the yield keyword used for in C#?
- Join/Where with LINQ and Lambda
- C# compiler error: “not all code paths return a value”
- How to convert byte array to string [duplicate]
- C# Java HashMap equivalent
- Configuration System Failed to Initialize
- Unity cannot convert from ‘string’ to ‘int’
- The request was aborted: Could not create SSL/TLS secure channel
- The located assembly’s manifest definition does not match the assembly reference
- Get current folder path
- LEFT OUTER JOIN in LINQ
- XAML Binding Groups
- Does not contain a static ‘main’ method suitable for an entry point
- Checking if an object is null in C#
- How to use Global Variables in C#?
- Unity3d no Monobehaviour scripts in the file, or their names don’t match the file name
- Add new item in existing array in c#.net
- How to fix file format and extension don’t match?
- Invalid length for a Base-64 char array
- The HTTP request was forbidden with client authentication scheme ‘Anonymous’. The remote server returned an error: (403) Forbidden
- Why am I getting a “Could not find a part of the path” exception?
- How to move 2D Object with WASD in Unity
- The Object you want to instantiate is null. Unity 3D
- Convert date yyyyMMdd to system.datetime format
- How to bind a model to a kendo Combobox in order to use the models validatation?
- HttpWebRequest-The remote server returned an error: (400) Bad Request
- MSHTML DLL on Windows 10
- Adding values to a C# array
- C#: how to get first char of a string?
- how to convert C# to C++
- Reading settings from app.config or web.config in .NET
- Collection was modified; enumeration operation may not execute
- Cross-thread operation not valid: Control accessed from a thread other than the thread it was created on
- Unity – Gameobject look at mouse
- What does the @ symbol before a variable name mean in C#?
- What is the C# version of VB.net’s InputDialog?
- How to add comments into a Xaml file in WPF?
- How do I target @Model within a src of an image tag?
- How to round up in c#
- Escape double quotes in a string
- How to do constructor chaining in C#
- What represents a double in sql server?
- How do you get the index of the current iteration of a foreach loop?
- Expression denotes a `type’, where a `variable’, `value’ or `method group’ was expected UNITY3D
- How do I restart my C# WinForm Application?
- Python data structure sort list alphabetically
- WSACancelBlockingCall exception
- Padding is invalid and cannot be removed?
- Why is it that “No HTTP resource was found that matches the request URI” here?
- Best way to reverse a string
- C# Foreach statement does not contain public definition for GetEnumerator
- How do I exit a foreach loop in C#?
- Fastest way to remove first char in a String
- How to convert datetime format to date format in crystal report using C#?
- Most efficient way to remove special characters from string
- When do we use ANTLR
- How would you count occurrences of a string (actually a char) within a string?
- Rotate object in Unity 3D
- C# equivalent to Java’s charAt()?
- How to play a sound in C#, .NET
- Convert SQL to LINQ Query
- How to resolve file being used by another process?
- How to crop an image using C#?
- How do you wait for input on the same Console.WriteLine() line?
- Why doesn’t C# have header files? Will the namespace take care of everything?
- How to avoid a System.Runtime.InteropServices.COMException?
- Define: What is a HashSet?
- Convert string to decimal, keeping fractions
- Format of the initialization string does not conform to specification starting at index 0
- How can I generate random alphanumeric strings?
- How do you do a deep copy of an object in .NET?
- Cannot declare instance members in a static class in C#
- How to convert HTML to PDF using iTextSharp