MDL-50710 block_glossary_random: more precise sorting