# Sorting Blog Posts With Scopes

> Episode of [GoRails Screencasts](https://podistic.com/podcast/gorails-screencasts.md) · Published April 3, 2023 · Duration 9:06

- **Listen on Podistic:** https://podistic.com/episode/sorting-blog-posts-with-scopes
- **Video:** https://gorails.com/episodes/sorting-blog-posts-with-scopes/download (video/mp4)

## About this episode

Scopes are a way for us to change the way a database table is queried. For example, we can use them to change the ordering of the results so certain records are first.
