pixel sorting in the style of grand hort