Change the Folder to List View.
Right Click on the Headings Bar, select kind to add it to the headings.
Then click on the kind heading to sort the folder by kind
The Files will be sorted by file kind, select the group you want and drag and drop to new folder.