Popular Search : Javascript Sort Array Of Objects By Key Boolean