message: Simplify progress sorting
diff: @@ -100,31 +100,15 @@ function mapStateToProps(state: RootState): StoreProps {
  const sortQuests = chainComparator(
  compareBy(showPursuitAsExpired),
  - compareBy((item: DimItem) => !item.tracked),
  - compareBy((item: DimItem) => {
  - const objectives = item.objectives;
  - const percentComplete = objectives
  - ? _.sumBy(objectives, (objective) => {
  - if (objective.completionValue) {
  - return (
  - Math.min(1, (objective.progress || 0) / objective.completionValue) / objectives.length
  - );
  - } else {
  - return 0;
  - }
  - })
  - : 0;
  - return percentComplete >= 1;
  - }),
  + compareBy((item) => !item.tracked),
  + compareBy((item) => item.complete),
  compareBy((item) => {
  return item.isDestiny2() && item.quest && item.quest.expirationDate
  ? item.quest.expirationDate
  : new Date(8640000000000000);
  }),
  compareBy((item) => item.typeName),
  - compareBy((item) => {
  - return item.icon;
  - }),
  + compareBy((item) => item.icon),
  compareBy((item) => item.name)
  );
  