Open nickbrooking opened 5 years ago
This is simply because .sort does not guarantee any order, so I need to add some sort of mask or secondary id to the array. This page has some potential solutions: https://stackoverflow.com/questions/36212839/javascript-sorting-function-incorrectly-changes-elements-position-in-array
Videos with the same published time will show in a random order, so refreshing the page will sometimes confusingly rearrange some videos.