chore: remove duplicate sort
parent
6dc36cb67f
commit
fc63652a6e
|
@ -52,9 +52,6 @@ export function sortByAttribute(entries: UpEntry[]): void {
|
|||
}
|
||||
|
||||
export function sortByEntity(entries: UpEntry[], sortKeys: SortKeys): void {
|
||||
entries.sort((aEntry, bEntry) => {
|
||||
return aEntry.attribute.localeCompare(bEntry.attribute);
|
||||
});
|
||||
entries.sort((aEntry, bEntry) => {
|
||||
if (!sortKeys[aEntry.entity]?.length || !sortKeys[bEntry.entity]?.length) {
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue