I think it would be more clear to have an array of stat keys (or map of key to position) that act as the preferred order of known stat values. Rather than `push`-ing the stat data, you can use `splice` to insert the stat as the correct position if a preferred order is defined.