In Primitive, add methods arrayToString and sortArray.