An improved device sorting particles by size