{% assign tmp = '' %}
{% assign pageKey = '' %}
{% assign sorted_categories = page.categories | sort:"sorting" | sort:"title" %}
{% for category in sorted_categories %}
          {% if tmp == '' %}
          {% assign tmp = category %}
             {% else %}
         {% assign tmp = tmp | append: '_' | append: category | removeUnvantedChars %}
           {% endif %}
           {% assign pageKey = tmp | removeUnvantedChars  %}
    {% endfor %}
<div id="left_col">
    <div id="nav_level1_wrapper" class="level1">
         {{ site.leftNavigation[pageKey] }}
    </div>
</div>

{% assign tmp = '' %}
{% assign pageKey = '' %}
{% for category in page.categories %}
          {% if tmp == '' %}
          {% assign tmp = category %}
             {% else %}
         {% assign tmp = tmp | append: '_' | append: category | removeUnvantedChars %}
           {% endif %}
           {% assign pageKey = tmp | removeUnvantedChars  %}
    {% endfor %}
<div id="left_col">
    <div id="nav_level1_wrapper" class="level1">
         {{ site.leftNavigation[pageKey] }}
    </div>
</div>
Revert "Try again to sort the left hand nav"
Revert "Try again to sort the left hand nav"

This reverts commit 6a0ad4e1fabb7a4a8e2b9d994e2ea47d08ad3f52.

It broke something and the left hand nav did not appear at all.
