Add width & height to pixelSort so it works