The \href{https://lodash.com/}{\texttt{ lodash}} method {\ttfamily \+\_\+.\+sort\+By} exported as a \href{https://nodejs.org/}{\texttt{ Node.\+js}} module.\hypertarget{md_sfcode_node_modules_lodash_sortby_README_autotoc_md16163}{}\doxysection{Installation}\label{md_sfcode_node_modules_lodash_sortby_README_autotoc_md16163}
Using npm\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\$ \{sudo -\/H\} npm i -\/g npm}
\DoxyCodeLine{\$ npm i -\/-\/save lodash.sortby }

\end{DoxyCode}


In Node.\+js\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{var sortBy = require('lodash.sortby'); }

\end{DoxyCode}


See the \href{https://lodash.com/docs\#sortBy}{\texttt{ documentation}} or \href{https://github.com/lodash/lodash/blob/4.7.0-npm-packages/lodash.sortby}{\texttt{ package source}} for more details. 