const o=["red","blue","black","purple","orange","yellow","pink","green","olive","teal","violet"];function t(n){return n.sort((e,r)=>n.indexOf(e)-n.indexOf(r))}function l(n){return n.sort((e,r)=>e.color!=r.color?o.indexOf(e.color)-o.indexOf(r.color):e.name<r.name?-1:e.name>r.name?1:0)}export{t as a,l as s,o as t};
