diff --git a/Libraries/StyleSheet/StyleSheetValidation.js b/Libraries/StyleSheet/StyleSheetValidation.js index c4875222d..be59b2ec5 100644 --- a/Libraries/StyleSheet/StyleSheetValidation.js +++ b/Libraries/StyleSheet/StyleSheetValidation.js @@ -26,7 +26,7 @@ class StyleSheetValidation { if (allStylePropTypes[prop] === undefined) { var message1 = '"' + prop + '" is not a valid style property.'; var message2 = '\nValid style props: ' + - JSON.stringify(Object.keys(allStylePropTypes), null, ' '); + JSON.stringify(Object.keys(allStylePropTypes).sort(), null, ' '); styleError(message1, style, caller, message2); } var error = allStylePropTypes[prop](