I'm working with twitter ids which are strings because they are so huge.
Twitter's api has a "Since_id" and I want to search tweets since the earliest tweet in a list.
For example:
tweet_ids = [u'1003659997241401843', u'1003659997241401234234', u'100365999724140136236'] # etc
since_id = min(tweet_ids)
So far min(tweet_ids)
works but I want to understand why it works because I want to know if it is just by chance that it worked on the few samples I gave it, or if it is guaranteed to always work.
Edit: To clarify I need to get the lowest tweet id. How do I get the lowest tweet id if they are strings that are > 2^32-1 and therefore can't be represented as integers in python 2.7 on a 32 bit machine.
I am using python 2.7 if that matters