I have the following function that should take an array of objects of many types and return a sorted result of that array. Since it may receive many object types, I\'d like