note
haukex
<blockquote><i>your indentation is misleading, the cost entries are at different levels.</i></blockquote>
<strike><p>You're right that it's misleading, for my reply I assumed there were two closing braces missing right before <c>'135-1'</c> and <c>'1069-9'</c>, in which case the <c>cost</c> keys would be at the same level, but your interpretation is possible as well.</p>
<p>[vaitor15]: Please clarify your input data.</p></strike>
<p><b>Update:</b> The code in the OP did not compile when I replied because there were missing closing braces. It seems that has now been fixed and you are correct about the nesting.</p>
11138233
11138235