Researchers design a transistor capable of sorting electrons by their spin