added check for sorted data blocks during module loading