Refactored ordering, added features

also fixed bug : DNG needed a specific test (distinct from "RAW" fileformat)