add "_sort" field for internal metadata