Sort graphics module imports