Creating a class? Use WebStorm's quick fix to convert a field into a proper getter/setter. Press Alt + Enter to get it started. #WebStormTippic.twitter.com/RyHmzoCZyF
Is the question: how to sort fields and methods in the class? You can use the Arrangement code style configuration and the Rearrange code action for that: https://www.jetbrains.com/help/webstorm/settings-code-style-javascript.html#ws_js_settings_editor_code_style_arrangement_tab …