By default, the group landing pages are sorted by newest comments. There is a link to sort by newest discussions, but there is no way to set this as the default for future visits.
This is a very simple script. It will redirect all group landing pages to the appropriate "newest discussions" link automatically. If you want some groups to redirect and not others, you will need to adjust the included and excluded pages in script options.