From
www.macrumors.com
This creates a recent items menu stack that you can customize to what you want. It does not seem to work on Tahoe for me. (I never tried it on Sequoia.) Can somebody try to see if it does anything on their system?
I have M1 mini Tahoe 26.0
Thanks

How to Add a Recent or Favorite Items Stack to Your Mac's Dock
Continuing our recent how-to focus on customizing the macOS Dock, in this article we're going to share with you a method for adding a recent or...

defaults write com.apple.dock persistent-others -array-add '{"tile-data" = {"list-type" = 1;}; "tile-type" = "recents-tile";}'; killall Dock
This creates a recent items menu stack that you can customize to what you want. It does not seem to work on Tahoe for me. (I never tried it on Sequoia.) Can somebody try to see if it does anything on their system?
I have M1 mini Tahoe 26.0
Thanks