QUOTE (hlb @ May 31 2003, 02:47 PM)

You should install the
SQL Plugin first, and use the code below:
CODE
<MTSQLEntries query="SELECT e.entry_id AS entry_id, count(*) AS count FROM mt_entry AS e, mt_comment AS c WHERE e.entry_id = c.comment_entry_id AND entry_blog_id=YOUR_BLOG_ID GROUP BY c.comment_entry_id ORDER BY count DESC LIMIT 10">
<a href="<MTEntryLink>"><MTEntryTitle></a> (<$MTEntryCommentCount$>)<br />
</MTSQLEntries>
You should assign your blog_id(
YOUR_BLOG_ID) to gain the correct result with the LIMIT option. Here is the
result (notice: it contains Chinese characters).

I'm using it and it works but it doesn't sort exactly by count desc. someone knows why?
This is the list I get:
Cos'è "una mamma"... (2)
PAPPA – alimenta... (25)
Donne e lavoro: la... (5)
BABY SITTER, ASILO... (8)
Sarò madre e me n... (8)
“FATE LA NANNA�... (7)
26 maggio Festa de... (6)
Apprensioni e paur... (5)
Libro sull'educazi... (6)
Coliche gassose: c... (5)
probably thosa are the 10 most commented but they are unsorted....
thank you