• Модуль: landing
  • Путь к файлу: ~/bitrix/modules/landing/lib/assets/resourcecollection.php
  • Класс: BitrixLandingAssetsResourceCollection
  • Вызов: ResourceCollection::sortByLocation
protected function sortByLocation(): void
{
	$columnLocation = array_column($this->resources, self::KEY_LOCATION);
	$columnOrder = array_column($this->resources, self::KEY_ORDER);
	array_multisort($columnLocation, $columnOrder, $this->resources);
}