Bug 1111583 - Fix appB.detail is undefined error. r=kgrandon

sortUnclassifiedApps can cause an exception if it tries to compare null
apps.
Merge pull request #26787 from Cwiiis/bug1111583-appB-undefined

Bug 1111583 - Fix appB.detail is undefined error. r=kgrandon