v.25.7Bug Fix (user-visible misbehavior in an official stable release)

For queries with combination of ORDER

For queries with combination of ORDER BY ... LIMIT BY ... LIMIT N, when ORDER BY is executed as a PartialSorting, the counter rows_before_limit_at_least now reflects the number of rows consumed by LIMIT clause instead of number of rows consumed by sorting transform. #78999 (Eduard Karacharov).