* Sorting performance improved py true tree sorting instead of repr of the whole
  data-structure
* Made tests python3 compat