title: Simple example of retrieving 500 items from dynamodb using Python
body: <p>Looking for a simple example of retrieving 500 items from dynamodb minimizing the number of queries. I know there's a "multiget" function that would let me break this up into chunks of 50 queries, but not sure how to do this.</p>
  
  <p>I'm starting with a list of 500 keys. I'm then thinking of writing a function that takes this list of keys, breaks it up into "chunks," retrieves the values, stitches them back together, and returns a dict of 500 key-value pairs. </p>
  
  <p>Or is there a better way to do this?</p>
  
  <p>As a corollary, how would I "sort" the items afterwards?</p>