Top selling product collection programmatically in magento

Top selling products :

Here is way to get best selling product collection.

<?php 
/* Best Seller*/

$visibility = array(
Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG
);

$storeId = Mage::app()->getStore()->getId(); // get default store id

$_productCollection = Mage::getResourceModel('reports/product_collection')
     ->addAttributeToSelect('*')
     ->addOrderedQty()
     ->addAttributeToFilter('visibility', $visibility)
     ->setOrder('ordered_qty', 'desc');

 print_r($_productCollection);
?>