Sorting powers into action type.