Order data files by secondary parameter

A quick update:

Unfortunately no success with getJSON. Again, a secondary field caused an error.

The following sorting method apparently only works with inline frontmatter, not with data files

{{ range (.Date.Pages.ByParam "author.last_name") }}
  <!-- … -->
{{ end }}

I am a bit clueless now.