---
title: Intelligently Ordered Diffs
link: https://ampcode.com/news/intelligently-ordered-diffs
source: ampcode-com
published: 2026-09-01T00:00:00Z
updated: 2026-09-01T00:00:00Z
first_seen: 2026-10-03T23:09:50.514863041Z
summary: The first challenge in code review is figuring out which files to read first. Amp now orders diffs intelligently and highlights which files contain the essential changes. Click the file order button to toggle between alphabetical and intelligent order. Amp reads the diff, finds the files that best explain the change, and moves them to the top. Less relevant files, such as tests, fixtures, and generated code, will be shown in muted colors below the important ones. If the diff changes while you're reviewing it, a blue dot over the button will indicate that there is an updated ordering. Clicking it will update the diff with the new order.
content: extracted
html: 2026-09-01-intelligently-ordered-diffs.html
preview:
  file: 2026-09-01-intelligently-ordered-diffs.preview-ce81bcee033f.webp
  width: 256
  height: 134
  color: '#817a6e'
images:
- source: https://ampcode.com/og?_template=news&_version=7&title=Intelligently+Ordered+Diffs&date=September+1%2C+2026&tagline=Put+the+files+that+explain+a+change+first.&screenshot=https%3A%2F%2Fstatic.ampcode.com%2Fnews%2Fchanges-intelligent-order-20260831-v3.avif&sig=eddcecd15047634084a56a3bd61367adf660f0de34bd81cf3da989128f2e9c4c
  original:
    file: 2026-09-01-intelligently-ordered-diffs.image-b421453b8e15.png
    width: 1200
    height: 630
  variants:
  - file: 2026-09-01-intelligently-ordered-diffs.image-7c1e80310314.webp
    width: 320
    height: 168
  - file: 2026-09-01-intelligently-ordered-diffs.image-4ac8bd13252a.webp
    width: 640
    height: 336
  - file: 2026-09-01-intelligently-ordered-diffs.image-41dc0254e7a6.webp
    width: 960
    height: 504
  - file: 2026-09-01-intelligently-ordered-diffs.image-4993ac3985fe.webp
    width: 1200
    height: 630
  color: '#625d57'
- source: https://static.ampcode.com/news/changes-intelligent-order-20260831-v3.avif
  original:
    file: 2026-09-01-intelligently-ordered-diffs.image-7b8bb8974b62.avif
    width: 1974
    height: 1980
  color: '#7a7a7e'
---

The first challenge in code review is figuring out which files to read first. Amp now orders diffs intelligently and highlights which files contain the essential changes.

Click the file order button to toggle between alphabetical and intelligent order. Amp reads the diff, finds the files that best explain the change, and moves them to the top.

![The Changes pane with intelligent file ordering enabled, important files first, and less important files muted](https://static.ampcode.com/news/changes-intelligent-order-20260831-v3.avif)

Less relevant files, such as tests, fixtures, and generated code, will be shown in muted colors below the important ones.

If the diff changes while you're reviewing it, a blue dot over the button will indicate that there is an updated ordering. Clicking it will update the diff with the new order.
