Is it possible to create groups from a list?

Try this script.