Group databases by stack on /databases