# sorted-deps > Enforce alphabetical ordering of `define()` dependency literals. ❕ **Suggestion** • ❌ **Recommended** • ❌ **Fixable** ## Details Sorted dependency arrays are easier to scan and reduce merge conflicts when multiple developers add dependencies. ### ✅ Correct ```js define(['bar', 'baz', 'foo'], (bar, baz, foo) => {}); ``` ### ❌ Incorrect (default `asc`) ```js define(['foo', 'bar', 'baz'], (foo, bar, baz) => {}); ``` ## Options | Option | Type | Default | Description | |---|---|---|---| | `order` | `'asc' \| 'desc'` | `'asc'` | Sort direction. | | `ignoreCase` | `boolean` | `true` | Case-insensitive comparison. | ## Introduced 1.0.0