Add new blocks in area to top

Permalink
Hi all,

I need the most recent at the top blocks in a given area, a solution to this problem is here:http://www.concrete5.org/community/forums/usage/add-to-top/#179576...

Because what it says meg83 probe, but not work for me.

Here's how it stayed the function, if anyone could help I would appreciate that.
function display_reverse(&$c, $alternateBlockArray = null) {
      if(!intval($c->cID)){
         //Invalid Collection
         return false;
      }
      $currentPage = Page::getCurrentPage();
      $ourArea = Area::getOrCreate($c, $this->arHandle);
      if (count($this->customTemplateArray) > 0) {
         $ourArea->customTemplateArray = $this->customTemplateArray;
      }
      if (count($this->attributes) > 0) {
         $ourArea->attributes = $this->attributes;
      }
      if ($this->maximumBlocks > -1) {
         $ourArea->maximumBlocks = $this->maximumBlocks;