https://www.php-resource.de/forum/php-developer-forum/40166-funktion-sort