function appendList($target, $list) {
	$target = $target.nextElementSibling;
	const $firstList = $target.firstElementChild;
	if ($firstList) $target.insertBefore($list, $firstList);
	else $target.append($list);
}
Insert folder into the list
@param {HTMLElement} $target The target element
@param {HTMLElement} $list The tile to be inserted