added abiity to find and sort mets files
fixed failing unit tests