new classes sorter merger and format working