sort and remove usings