Given this JS code or CSS code in the WebStorm IDE:
const foo = {
z: 'zip',
a: 'zot'
}
or
.foo {
z-index: 1;
align-content: center;
}
Is there a way to select the code and reorder the property names alphabetically? To make:
const foo = {
a: 'zot',
z: 'zip'
}
or
.foo {
align-content: center;
z-index: 1;
}