sorted popupmenu bug