private function applySorting($icons)
    {
        if (('' !== $this->orderField) && \is_array($this->orderFieldValue)) {
            $ordered = [];

            foreach ($this->orderFieldValue as $uuid) {
                $iconKey = \md5($uuid);
                if (isset($icons[$iconKey])) {
                    $ordered[$iconKey] = $icons[$iconKey];
                    unset($icons[$iconKey]);
                }
            }

            foreach ($icons as $uuid => $icon) {
                $ordered[\md5($uuid)] = $icon;
            }

            $icons = $ordered;
        }

        return $icons;
    }