##// END OF EJS Templates
Merge pull request #8131 from minrk/sort-help...
Thomas Kluyver -
r20838:befcaa9a merge
parent child Browse files
Show More
@@ -244,13 +244,13 b' define(['
244 }
244 }
245 }
245 }
246 help.sort(function (a, b) {
246 help.sort(function (a, b) {
247 if (a.help_index > b.help_index){
247 if (a.help_index === b.help_index) {
248 return 0;
249 }
250 if (a.help_index === undefined || a.help_index > b.help_index){
248 return 1;
251 return 1;
249 }
252 }
250 if (a.help_index < b.help_index){
251 return -1;
253 return -1;
252 }
253 return 0;
254 });
254 });
255 return help;
255 return help;
256 };
256 };
General Comments 0
You need to be logged in to leave comments. Login now