working sidemenuon distrinct sorting