How to make Leaderboard of the users with the most post count at the top.

I have this relations both in Articles Template and Users Template
Code: Select all
<cms:editable type='relation' name='user_var' label='Owner' title='User Variable' masterpage='users/index.php' has='many' order='3'/>

How to make this one happen?
Thankyou.