Updated copy/paste region with the name sorting