page2.faces contains headings for a table in the form of commandLinks. page3.faces contains the table. When user clicks a heading the sort order of the table column content should be changed, and after this page3.faces should be redisplayed.
One way to do it is to wire the backing beans together as Managed Beans. I did almost exactly what you're describing just yesterday.
Here's how it works:
1. Starting with (presumably) existing display backing bean...
2. Create an "ordering" bean that contains your sort options
3. Define - but don't construct - an "ordering" bean object in your display backing bean. Add setter/getter.
4. Add the "ordering" bean to the list of Managed Beans defined in your faces-config.xml file.
5. Define construction of the ordering bean object in the Managed Bean definition of your display backing bean.
for example (using search, rather than ordering):
et viola! "searchArgs" is created by the framework when it constructs the display backing bean. Now aim your sort parameters JSP at "searchArgs", add a "sort" action to the display bean, expecting searchArgs, and wire the search, er sort, arguments JSP at the display backing bean's "sort" action.
Bjoke: A "Bully Joke". A Statement or action made with malicious intent - unless challenged. At which point it magically transforms into "I was just funnin'" or "What's the matter, can't take a joke?"