From a2dc3897b29c36ac46355d99e46b8aa2ab197d4e Mon Sep 17 00:00:00 2001 From: Allan Watson Date: Thu, 20 Oct 2016 07:39:36 -0400 Subject: [PATCH] docs(orderBy): describe your change... Documentation updates to clarify default sort behavior. See https://github.com/angular/angular.js/issues/15293 for more information --- src/ng/filter/orderBy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ng/filter/orderBy.js b/src/ng/filter/orderBy.js index cfab3bf575ce..da328849a561 100644 --- a/src/ng/filter/orderBy.js +++ b/src/ng/filter/orderBy.js @@ -8,7 +8,8 @@ * @description * Orders a specified `array` by the `expression` predicate. It is ordered alphabetically * for strings and numerically for numbers. Note: if you notice numbers are not being sorted - * correctly, make sure they are actually being saved as numbers and not strings. + * correctly, make sure they are actually being saved as numbers and not strings and are not + * null or undefined. * * @param {Array} array The array to sort. * @param {function(*)|string|Array.<(function(*)|string)>=} expression A predicate to be