Added sort to NSArray and compare to EJCanvasGradientColorStop