SERVER-13192 Fix sorting in show dbs shell helper