graph stdlib: add retrieve_sorted_snapshots()
I added a function that would fit well with the stdlib. The function returns the sorted list of snapshots of a given origin. There is a use case / example below of the function.
It requires visit timestamps on the graph, so it is only compatible with the full extraction of 2024-05-16 for now.