Sorting posts by title, case insensitive

I would like to sort my posts by title. I want it to be case insensitive. I know about .Data.Pages.ByTitle, but that doesn’t do the trick for the case insensitivity.

How would I change the following code to get case insensitive sorting?

{{ range .Data.Pages.ByTitle }}
  <div class="post">
    <a href="{{ .Permalink }}">{{ .Title }}</a>
  </div>
{{ end }}

I don’t believe that there is a function that will change the sort to be case insensitive today.

The functions are listed here (look for sort):

I don’t think it would be all together too hard to add this feature. Please create an issue and add the label “help wanted”