fn group_imports(uts: Vec<UseTree>) -> Vec<Vec<UseTree>>
Divides imports into three groups, corresponding to standard, external and local imports. Sorts each subgroup.