Index: chrome/browser/resources/ntp_search/new_tab.js |
diff --git a/chrome/browser/resources/ntp_search/new_tab.js b/chrome/browser/resources/ntp_search/new_tab.js |
index 4a83ddb3898d3e0d1faaa3ace6d65af430a909cd..c8156d2ff519301c1b2fc295ed8e864d4dd5e95e 100644 |
--- a/chrome/browser/resources/ntp_search/new_tab.js |
+++ b/chrome/browser/resources/ntp_search/new_tab.js |
@@ -422,8 +422,8 @@ cr.define('ntp', function() { |
// Sort by launch ordinal |
Evan Stade
2012/11/30 20:52:46
update
pedro (no code reviews)
2012/11/30 22:01:18
Done.
|
apps.sort(function(a, b) { |
- return a.app_launch_ordinal > b.app_launch_ordinal ? 1 : |
- a.app_launch_ordinal < b.app_launch_ordinal ? -1 : 0; |
+ return a.title.toLocaleLowerCase() > b.title.toLocaleLowerCase() ? 1 : |
+ a.title.toLocaleLowerCase() < b.title.toLocaleLowerCase() ? -1 : 0; |
}); |
// An app to animate (in case it was just installed). |