You can select a method name and hit: Ctrl+Shift+Up or Ctrl+Shift+Down to move it up and down.

On OS X: Cmd+Shift+Up or Cmd+Shift+Down

Beyond this the Rearranger Plugin lets you move methods around quickly, and even define a standard ordering based on your coding convention.

Answer from retronym on Stack Overflow
🌐
JetBrains
jetbrains.com › help › idea › rearrange-code.html
Rearrange code | IntelliJ IDEA Documentation
4 weeks ago - In the editor, select the code entries you want to rearrange and go to Code | Rearrange Code in the main menu.
🌐
JetBrains
jetbrains.com › help › idea › reformat-and-rearrange-code.html
Reformat code | IntelliJ IDEA Documentation
3 weeks ago - Either open your file in the editor and press Ctrl+Alt+Shift+L or in the Project tool window, right-click the file and select Reformat Code. Keep pressing Shift and select additional files for a group reformatting.
🌐
JetBrains
jetbrains.com › guide › java › tutorials › rearranging-code › example-of-rearranging-code
Example of Moving Code Around - JetBrains Guide
February 17, 2023 - When you do this, the code will be rearranged (see below). Here is a list of changes: All the fields have moved to the top of the class because that's what we specified in our grouping rows 1-8. The getter and setter methods are grouped because IntelliJ IDEA has grouped them together from the ...
🌐
JetBrains
jetbrains.com › guide › java › tutorials › rearranging-code
Rearranging Code in IntelliJ IDEA. - JetBrains Guide
February 17, 2023 - This tutorial will cover rearranging code at a class and project level. ... Moving a line, paragraph or selection up and down. ... Moving a line, paragraph or selection up and down. ... Invoking Rearrange Code on a Class and Viewing the results.
🌐
JetBrains
blog.jetbrains.com › home › intellij idea › how to format java code
How to Format Java Code - The JetBrains Blog
June 6, 2024 - Use Find Action (Shift+Ctrl+A or ⇧⌘A), and start typing “rearrange” to find the Rearrange Code action. Select this and IntelliJ IDEA will reorder the code of this class according to the settings for the project.
🌐
JetBrains
blog.jetbrains.com › home › intellij idea › arrange your code automatically with intellij idea 12
Arrange Your Code Automatically with IntelliJ IDEA 12 - The JetBrains Blog
You can use either of the following ways to rearrange your code: 1. Call Rearrange code action explicitly. 2. Enable Rearrange entries in Code Reformat options.
Find elsewhere
Author: xdev-software
🌐
JetBrains
jetbrains.com › help › datagrip › reformat-and-rearrange-code.html
Reformat and rearrange code | DataGrip Documentation
3 weeks ago - If anything is not defined in .editorconfig, it is taken from the project settings. You can reformat a part of code, the whole file, a group of files, a directory, and a module.
🌐
YouTube
youtube.com › watch
Rearrange Code - Intellij
Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 7322328144018-Rearrange-code-put-getters-and-setters-at-bottom
Rearrange code: put getters and setters at bottom – IDEs Support (IntelliJ Platform) | JetBrains
August 25, 2022 - You may try enabling the "order by name" option in "method, modifiers" default rule in "Settings/Preferences | Editor | Code Style | PHP > Arrangement": I have just tried it and in my case, getters/setters went to the end despite the name. There is an obvious drawback though: other methods will be sorted by name too (but placed before getters/setters). Please sign in to leave a comment.
🌐
JetBrains
jetbrains.com › help › resharper › Coding_Assistance__Moving_Code_Elements.html
Rearrange code elements | ReSharper Documentation
Although ReSharper tries not to allow invalid moves, there are still cases when you can break either logic or compilation of your code. Note that ReSharper provides a lot of refactorings that help you safely rearrange your code, for example, Move Type to Outer Scope refactoring and Change Signature refactoring.
🌐
Websparrow
websparrow.org › home › intellij idea – code reformat and rearrange shortcut keys
IntelliJ IDEA – Code reformat and rearrange shortcut keys - Websparrow
July 24, 2020 - In IntelliJ IDEA, we can use Ctrl + Alt + L to reformat and rearrange code in Windows and Linux machine and for Mac OS, use command + option + L.
🌐
JetBrains
jetbrains.com › help › webstorm › reformat-and-rearrange-code.html
Reformat code | WebStorm Documentation
4 weeks ago - You can configure the IDE to rearrange code elements in modified files automatically when your changes are saved.
🌐
JetBrains
jetbrains.com › idea › guide › tutorials › rearranging-code › introduction
Introduction - JetBrains Guide
February 17, 2023 - That might be statements or single lines, or rearranging a whole class to adhere to some code arrangement rules you and your team have defined. For example, you might have a team rule that private methods always appear last in a class - you can use IntelliJ IDEA to enforce that.
🌐
JetBrains
jetbrains.com › help › rider › Coding_Assistance__Moving_Code_Elements.html
Rearrange code elements | JetBrains Rider Documentation
November 26, 2025 - To rearrange code, press Ctrl+Shift+Alt over a code element or selection that you want to move. Then add one of the keyboard arrows to the key combination to invoke the corresponding command:
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 20117386327570-Rearrange-code-to-move-magic-methods-to-end
Rearrange code to move magic methods to end? – IDEs Support (IntelliJ Platform) | JetBrains
July 12, 2024 - I'm trying to get the Rearrange Code feature to sort all my class methods alphabetically, except put the magic methods at the end.I created a Rules Alias for the name:And then updated my settings l...
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 4955776500370-Rearrange-code-not-working
Rearrange code not working – IDEs Support (IntelliJ Platform) | JetBrains
April 4, 2022 - There is also dedicated "Code | Rearrange Code" action · 3) Maybe your code is already properly arranged? What do you have and what do you expect to have? ... Here's a video of the Reformatting exercise in action after disabling EditorConfig override.