Fix IDEA ordering