fix bug for sorting filter
fix bug for sorting filter

this resolves
https://github.com/DestinyItemManager/DIM/pull/1017#issuecomment-2511769
98

48klocs/DIM,48klocs/DIM,bhollis/DIM,DestinyItemManager/DIM,delphiactual/DIM,LouisFettet/DIM,bhollis/DIM,chrisfried/DIM,LouisFettet/DIM,delphiactual/DIM,bhollis/DIM,chrisfried/DIM,chrisfried/DIM,48klocs/DIM,DestinyItemManager/DIM,bhollis/DIM,delphiactual/DIM,delphiactual/DIM,DestinyItemManager/DIM,chrisfried/DIM,DestinyItemManager/DIM