Added option to sort by date

This commit is contained in:
Sebastian Lay
2021-08-17 02:38:21 +02:00
parent 6b1b65d621
commit a0e3c881a4
2 changed files with 3 additions and 0 deletions

View File

@@ -57,6 +57,8 @@ const app = new Vue({
return a.price - b.price;
case 'iso':
return a.iso - b.iso;
case 'date':
return a.launched - b.launched;
}
});
if(sortDir === 'asc') {