renamed fragment to anchor
sorting improved