bugfix - to previous changes

reorder cut_files to right of cut_inst and sort cut array as well as
blocks