beeminder / BeeSwift

Official Beeminder for iOS app
Other
29 stars 5 forks source link

Sort gallery goals according to intended algorithm #382

Closed theospears closed 1 year ago

theospears commented 1 year ago

Beeminder has an intended gallery default sort order of

min(losedate, goaldate), -pledge, slug

This is not implemented universally, but is the intended behavior. Here we update the app to sort by this fully determined sort, rather than the partial ordering it was using before. This also guarantees the sort is stable.

Test Plan: Observed my gallery was sorted appropriately.

theospears commented 1 year ago

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.