[BUG #8137] Html parsing and basic sorting