# Sort-Object

say it: **“sort OB-jekt”** **/sɔːrt ˈɒbdʒɛkt/**

Sorts objects by a property.

## What is **Sort-Object**?

`Sort-Object` sorts pipeline objects by one or more properties.

```powershell
Get-ChildItem | Sort-Object LastWriteTime -Descending
```

Level: Apprentice · [More PowerShell terms at this level](https://www.ask-codey.com/glossary?category=powershell&level=2)

Updated: November 17, 2026

Source: https://www.ask-codey.com/glossary/sort-object
