data-sort: removed unused locking parts
hash: removed debug iterators