Added separated definition file
Updated sort to defs file
Updated deoverlap to defs file