added sortby test