Flags for sorting container content. Although the document is not a visible object in Maps or Outlines it can be selected, to allow sorting top-level notes. in the top level of the view deselect all items and then open the Info view dialog (Cmd+Opt+I — or Note menu, Get Info) and setting the sort attributes for the document itself.