# There are things with ranks, but it's not always clear what the ranks mean

DevFeed: [There are things with ranks, but it's not always clear what the ranks mean](<https://devfeed.tech/articles/there-are-things-with-ranks-but-it-s-not-always-clear-what-the-ranks-mean-118976.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261104-00/?p=112830/>)

Author: Raymond Chen

Published: 2026-11-04T15:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Documentation](<https://devfeed.tech/topics/documentation.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [api](<https://devfeed.tech/tags/api.md>), [code](<https://devfeed.tech/tags/code.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [driver](<https://devfeed.tech/tags/driver.md>), [feature](<https://devfeed.tech/tags/feature.md>), [i-o](<https://devfeed.tech/tags/i-o.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>)

## AI overview

The post shows how documentation can leave "rank" undefined, then explains the Windows package graph's actual ordering: packages are searched in ascending rank, so lower ranks have precedence. A process's graph starts empty; declared dependencies are added at rank zero in static resolution order. `AddPackageDependency` inserts a package after lower-ranked packages and before higher-ranked ones. By default, it follows packages with the same rank; `AddPackageDependencyOptions_PrependIfRankCollision` places it before them. Because rank is a signed integer, a negative rank can place a package ahead of the static dependencies. The post contrasts this unclear documentation with SQL Server full-text search, where higher rank explicitly means a more relevant match, and filter-driver altitude, where lower numerical altitude means loading lower in the I/O stack.

## Source excerpt

The problem with documentation written by people who know the feature too well. The post There are things with ranks, but it's not always clear what the ranks mean appeared first on The Old New Thing.