On the /#/silences endpoint, it seems like silences are in a different order every time the page is refreshed. Is it possible to have them sorted e.g. by start or expiration time?
Related to #812. Would you be up for submitting a PR for this?
That depends... do you think the sorting should be done in the frontend or the API?
@mpitt I would vote for sorting on server side. I don't think this should be a big performance issue. @stuartnelson3 @fabxc what do you think?
I would say server side as well.
Also in favor of server side. Most folks probably have less than 2000 silences, and sorting that should be pretty quick.
I'm not sure how we should sort. We ran into the issue at soundcloud where folks had expirations set years in the future, so there was always noise at the top of the list with things that weren't expiring until 2025. Thoughts on sorting by expiration, soonest expiring first?
Maybe configurable via UI? :slightly_smiling_face:
We have three lists of silences, that I think should have different sorting rules:
Most helpful comment
Maybe configurable via UI? :slightly_smiling_face: