Closes#126
This commit is contained in:
missmeowness 2023-05-12 13:24:59 +03:00
parent ab70afbf59
commit 3526dd7459

View File

@ -100,7 +100,7 @@ export class PeopleComponent {
});
} else if (sorting === 'followed-desc') {
this.sortedItems = this.items.sort((a, b) => {
return a.followed! < b.followed! ? -1 : 1;
return a.followed! > b.followed! ? 1 : -1;
});
} else if (sorting === 'created-asc') {
this.sortedItems = this.items.sort((a, b) => {