Why does the decoder not sort by IDs

I’m attempting to have the app get the js file and load the list in order of ID’s first. Videolist+ViewModel.swift VideoDetails+VideoModel.swift VideoUseCase.swift Response.swift what I do not understand is why it randomizes the ID’s it continues to generate random sets of videos in different orders. I’ve attempted everything from videos.sorted to recoding from scratch. Answer adding this line to VideoList.swift fixed the sorting