[Python-checkins] Fixes in sorting descriptions (GH-18317)