#18985·primeng

primeng table multiple sort wrong demo code

Author: Prasanna-SridharanCreated Oct 6, 2025Updated Sep 8, 2026
LabelsResolution: StaleStatus: Needs Triage

Describe the bug

primeng table multiple sort (https://primeng.org/table#multiple-columns-sort) shows wrong demo code in both direct documentation site and in stackblitz (https://stackblitz.com/run?file=components%2Flayout%2Fapp.component.html), the class is exported as TableSingleColumnsSortDemo which is wrong and sortMode="multiple" is not set.

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

Documentation issue

Reproducer

https://stackblitz.com/run?file=components%2Flayout%2Fapp.component.html

Environment

Documentation issue

Angular version

20

PrimeNG version

v20

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

Documentation issue at

Expected behavior

The code at https://primeng.org/table#multiple-columns-sort and https://stackblitz.com/run?file=components%2Flayout%2Fapp.component.html should compile and work.