JavaScriptでこのような二次元配列があります
[
["d", true],
["a", false],
["e", true],
["c", false],
["b", true],
];

この配列を以下のようにソートする方法を教えてください
b
d
e
a
c