fixes bug when sort menu entries are not activated directly after loading a file before doing a selecion