require-js-sort package for Atom editor
Simple Atom tool for sorting your "require" and "import x from" by file path.
Example: This ...
import {buy} from "app/js/zoo-manager.js";
import Cage from "app/js/cage.js";
import Animal from "app/js/animal.js";
... will be converted to ...
import Animal from "app/js/animal.js";
import Cage from "app/js/cage.js";
import {buy} from "app/js/zoo-manager.js";