unit test for sort with broadcasters, fdo#86762

Change-Id: Id1040f95a94d1637cafd06cbe0072b5a5a5cb8e0
(cherry picked from commit bbfa317b9cfdbb0c44140e3414d4c2dfba9bcef4)
WaE: might be used unintialized

Change-Id: I036a5a1c8c8cca09bb6bddef2e0c8f172fe22e77
(cherry picked from commit 48138a1d60fafa0bf3412aa6b518a9c0a4f6d492)