Fix imports to be set in bulk and sorted.