function f({rows:s,place:o,direction:u}){return s.sort(function(t,n){t=t[o],n=n[o];function r(e){return typeof e=="string"?e:e.props.name}return t=r(t).toLowerCase(),n=r(n).toLowerCase(),u==="backward"?t>n?1:-1:t>n?-1:1})}export{f as s};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMi4zLjFfYXNfc3RyaW5nLmpzIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9mcm9udGVuZC92dl90dXJiby9zaGFyZXMvZ2xhbW91ci90YWJsZS9zb3J0aW5nL2FzX3N0cmluZy5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJcbi8qXG5cdGltcG9ydCB7IHNvcnRfYXNfc3RyaW5ncyB9IGZyb20gJ0AlL2dsYW1vdXIvdGFibGUvc29ydGluZy9hc19zdHJpbmcuanMnXG4qL1xuXG5leHBvcnQgZnVuY3Rpb24gc29ydF9hc19zdHJpbmdzICh7IHJvd3MsIHBsYWNlLCBkaXJlY3Rpb24gfSkge1xuXHRcblx0cmV0dXJuIHJvd3Muc29ydCAoZnVuY3Rpb24gKHIxLCByMikge1xuXHRcdHIxID0gcjEgWyBwbGFjZSBdXG5cdFx0cjIgPSByMiBbIHBsYWNlIF1cblx0XHRcblx0XHQvLyBjb25zb2xlLmxvZyAoeyByMSwgcjIgfSlcblx0XHRcblx0XHRmdW5jdGlvbiB0aGVfc3RyaW5nICh2YXJpYWJsZSkge1xuXHRcdFx0aWYgKHR5cGVvZiB2YXJpYWJsZSA9PT0gJ3N0cmluZycpIHtcblx0XHRcdFx0cmV0dXJuIHZhcmlhYmxlXG5cdFx0XHR9XG5cdFx0XHRcblx0XHRcdHJldHVybiB2YXJpYWJsZS5wcm9wcy5uYW1lO1xuXHRcdH1cblx0XHRcblx0XHRyMSA9IHRoZV9zdHJpbmcgKHIxKS50b0xvd2VyQ2FzZSAoKVxuXHRcdHIyID0gdGhlX3N0cmluZyAocjIpLnRvTG93ZXJDYXNlICgp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