I have a the following code:
myArray: { value: string; name: string; }[]; orderFunction (a, b) { if (a.wrong > b.wrong) { return 1; } else {