I have an array of dates, ex.(1/6, 1/4, 1/10, 1/10, 1/9, 1/7…). I dont need the first couple of dates that is not in descending order. How do i get the index of start of the descending dates. index = 3 (1/10) for the example above.
I’m scraping a website but there are some “pinned” post that is not in chronological order at the front. I want to exclude those posts.
Hi @Will_Wang , can you try the sort function if you have not and sort the array before using an iterator but i am not sure how it would work with the dates