GSort listens to mouse event with the new constructor