How to split an Array of Objects into another Arrays based on their values

welcome to shbcf.ru