added a sort menu