function _sortByPlatform(a, b) {
        var a1 = (a.platform) ? 1 : 0,
            b1 = (b.platform) ? 1 : 0;
        return b1 - a1;
    }
@private

Sort objects by platform property. Objects with a platform property come
before objects without a platform property.