public function __construct() { $this->vboxes = new PQueue(function ($a, $b) { return ColorThief::naturalOrder($a['vbox']->count() * $a['vbox']->volume(), $b['vbox']->count() * $b['vbox']->volume()); }); }