Sort imports and use [] for defining a list