notationPageOrder function
The page ids names in the order a site with no listed pages shows
them: home first, then the others by name.
Implementation
List<String> notationPageOrder(Iterable<String> names) {
final rest = names.toSet().toList()..sort();
return [if (rest.remove('home')) 'home', ...rest];
}