Bug 1026273 - [Vertical Homescreen] Smart collections are sometimes added in a random order

https://bugzilla.mozilla.org/show_bug.cgi?id=1026273
shorter:  `var ids = collections ? collections.map(c => c.id) : [];` 
if you want..