Pre-sorts stage/env tables, changes text/link of stage summaries