Valid HTML5 output
Sorting items bugfix (depth)