container.directory: implemented random sorting