Sort-Object - Powershell 2.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
Sort-Object
Short description Sorts objects by property values. Syntax Sort-Object [[-Property] <Object[]>] [-CaseSensitive] [-Culture <string>] [-Descending] [-InputObject <psobject>] [ -Unique] [<CommonParameters>] Description The Sort-Object cmdlet sorts objects in ascending or descending order based on the values of properties of the obje ct. You can specify a single property or multiple properties (for a multi-key sort), and you can select a case-sensitiv e or case-insensitive sort. You can also direct Sort-Object to display only the objects with a unique value for a p articular property.