Fix grouping and sorting of the imports in accounts/views