[API] SortField type is now an inner enum SortField.Type.STRING
Reintroduce as deprecated the addNumericFieldToDocument helper, fix NumericField tests