in src/core/Results.tsx [238:250]
function findAllHeaders(queryResult: []): [] {
const headers: Map<string, number> = new Map<string, number>();
for (const i in queryResult) {
const map: Map<string, string> = queryResult[i];
for (const key in map) {
const count = headers.get(key) ? (headers.get(key) || 0) + 1 : 1;
headers.set(key, count);
}
}
return Array.from(headers.entries())
.sort((a, b) => b[1] - a[1])
.map((e) => e[0]) as [];
}