[Refactoring] Reimplemented SortImports. Still incomplete.