_rates) || !count($this->_rates)) { return $this; } foreach ($this->_rates as $i => $rate) { $tmp[$i] = $rate->getPrice(); } natsort($tmp); foreach ($tmp as $i => $price) { $result[] = $this->_rates[$i]; } $this->reset(); $this->_rates = $result; */ return $this; } }