Added hsort: sorts headpages up