Index on sort

Isn’t really possible to use sort and index at the same time?

Despite the error alert, the site is being generated, but it breaks a build process.