more work on the sorting, almost works on tables now too
Merge branch '7.0.0' of https://github.com/umbraco/Umbraco-CMS into 7.0.0