import e from "./_baseRest.js";
import t from "./_isIterateeCall.js";
import n from "./_baseFlatten.js";
import r from "./_baseOrderBy.js";
//#region ../../node_modules/lodash-es/sortBy.js
var i = e(function(e, i) {
	if (e == null) return [];
	var a = i.length;
	return a > 1 && t(e, i[0], i[1]) ? i = [] : a > 2 && t(i[0], i[1], i[2]) && (i = [i[0]]), r(e, n(i, 1), []);
});
//#endregion
export { i as default };
