We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 50ec29e + 09d02f8 commit 85fbcbbCopy full SHA for 85fbcbb
js/geo.js
@@ -5,7 +5,10 @@ function buildGeoPage() {
5
whois.innerHTML = whoisRoot.split(" Try")[0];
6
7
const portfolioTable = document.getElementById("portfolio");
8
- for (p in portfolio) {
+ const sortedPortfolioKeys = Object.keys(portfolio).sort((a, b) =>
9
+ portfolio[a].name.localeCompare(portfolio[b].name)
10
+ );
11
+ for (const p of sortedPortfolioKeys) {
12
const row = portfolioTable.insertRow(-1);
13
const logoCell = row.insertCell();
14
const descriptionCell = row.insertCell();
0 commit comments