Add sales orders into an array