Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit a2dc389

Browse files
authored
docs(orderBy): describe your change...
Documentation updates to clarify default sort behavior. See #15293 for more information
1 parent b879223 commit a2dc389

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ng/filter/orderBy.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
* @description
99
* Orders a specified `array` by the `expression` predicate. It is ordered alphabetically
1010
* for strings and numerically for numbers. Note: if you notice numbers are not being sorted
11-
* correctly, make sure they are actually being saved as numbers and not strings.
11+
* correctly, make sure they are actually being saved as numbers and not strings and are not
12+
* null or undefined.
1213
*
1314
* @param {Array} array The array to sort.
1415
* @param {function(*)|string|Array.<(function(*)|string)>=} expression A predicate to be

0 commit comments

Comments
 (0)