awesome-wasm icon indicating copy to clipboard operation
awesome-wasm copied to clipboard

Sort order for entries

Open justinclift opened this issue 7 years ago • 3 comments
trafficstars

Creating this from the discussion in a (now merged) PR:

Out of curiosity, why the "new entries should be added to the end"? (eg unsorted) Kind of thinking alphabetical or (any) sorting would be better for looking things up. smile

Yeah, some resources are not sorted, only articles and videos for example, are sorted by year from the most recent to the oldest. Adding them to the end of the list allows users to immediately identify the new ones that have been added since they last viewed the page. However, alphabetical sorting makes them better organised... What do you think about it?

Good point. Hadn't thought of items that are better sorted via date, but yep they do exist. The current "Articles" and "Video" sections seem a bit inconsistent at the moment, as the older entries are in the middle with the newest one (2018) at the top, with the some 2017 ones at the bottom. We should definitely pick a sort order for those and get that done.

For stuff that doesn't benefit from date ordering (eg GitHub repos?), then alphabetical likely makes sense. Things are already broken into topic groups, which ensures related stuff is already near other related stuff.

I can help with putting stuff into whatever order(s) are decided on if that helps. eg series of PR's or whatever. :smile:

justinclift avatar Nov 04 '18 23:11 justinclift

Hi @justinclift, thank you for opening this issue 😄 Yeah, I totally agree with you, that makes sense. We can sort Tutorials, Articles, Videos and Slides by year and alphabetically the other sections. Let me know if you want to contribute with a PR 😄

mbasso avatar Nov 06 '18 09:11 mbasso

Just created an initial PR to sort the video entries by date (most recent first), and added two missing video entries I know of. I'll try to get time to check over the Slides then Articles ones next.

Sorry for the delay with this. Life has been strange recently, so it's been challenging to put time aside for things. :confused:

justinclift avatar Nov 25 '18 03:11 justinclift

Just created an initial PR to sort the video entries by date (most recent first), and added two missing video entries I know of. I'll try to get time to check over the Slides then Articles ones next.

just merged, thank you, I really appreciate it

Sorry for the delay with this. Life has been strange recently, so it's been challenging to put time aside for things. 😕

Dont't worry, no problem, take your time 😄

mbasso avatar Nov 28 '18 12:11 mbasso