Change sort order for 'lastlogin' and 'created' sorts

This commit is contained in:
Bryan Ashby
2022-08-16 13:45:39 -06:00
parent b971876795
commit 226c261505

View File

@@ -575,7 +575,7 @@ function listUsers() {
}; };
const sortByTimestamp = prop => (left, right) => { const sortByTimestamp = prop => (left, right) => {
return moment(left[prop]) - moment(right[prop]); return moment(right[prop]) - moment(left[prop]);
}; };
let sorter; let sorter;