Find SUM of nested ARRAY VALUES and sort them by KEY

(topic deleted by author)