/**
  * Apply order settings to the source
  *
  * @param array $settings
  */
 protected function processOrders(array $settings = [])
 {
     foreach ($settings['orders'] as $column => $order) {
         switch ($order) {
             case Grid\Grid::ORDER_ASC:
                 $this->source->addAscending($column);
                 break;
             case Grid\Grid::ORDER_DESC:
                 $this->source->addDescending($column);
                 break;
             default:
                 break;
         }
     }
 }