implement reordering of children (if supported by the backend)
moved order logic to mapper, adjusted tests
changed file header
use PathHelper instead of basename