Manual:$wgPagePropsHaveSortkey

Details
Set this to  if you haven't applied the schema update that adds the   column to the pgPropsTbl>Special:MyLanguage/Manual:page_props table|  table. This is mainly for use by administrators of large wikis who cannot immediately apply the schema updates to their database.

See, in particular the SQL file, for more details.