added sortPluck