private function getListingOrder(array $contentType)
{
// An empty default isn't set in config yet, arrays got to hate them.
$contentType += ['taxonomy' => []];
$taxonomies = $this->getOption('taxonomy');
foreach ($contentType['taxonomy'] as $taxonomyName) {
if ($taxonomies[$taxonomyName]['has_sortorder']) {
// Let getContent() handle it
return null;
}
}
return $this->getOption('theme/listing_sort') ?: $this->getOption('general/listing_sort');
}