From GamingWiki
Line 53: | Line 53: | ||
Now each value of datalinehash can be parsed into a new hash. We want it sorted by | Now each value of datalinehash can be parsed into a new hash. We want it sorted by | ||
key, so we use a key array. | key, so we use a key array. | ||
− | -->{{#hashtoarray: | + | -->{{#hashtoarray: |datalinehash|datalinekeys}}<!-- |
-->{{#arraysort:datalinekeys|asc}}<!-- | -->{{#arraysort:datalinekeys|asc}}<!-- | ||
Line 126: | Line 126: | ||
-->}}<!-- end hashprint datalinehash | -->}}<!-- end hashprint datalinehash | ||
-->{{#hashreset: datalinehash }}<!-- | -->{{#hashreset: datalinehash }}<!-- | ||
+ | -->{{#arrayreset:datalinekeys }}<!-- | ||
--> | --> |