title: DynamoDB retrieve last row
body: <p>i need some help with DynamoDB.
  I have table as following:</p>
  
  <pre><code>| Shortener (Hash key) | ShortenedURL (Range key) | LongURL      |
  |-----------------------------------------------------------------|
  | "My webpage url"     | "1"                       | "example.net"|
  | "My webpage url"     | "6"                       | "example.com"|
  | "My webpage url"     | "4"                       | "example.eu" |
  </code></pre>
  
  <p>How to retrieve the row with biggest number in "ShortenedURL"?
  Im totally new to DynamoDB &amp; NoSQL stuff. Using AWS PHP SDK.
  Tried to search for hours and didnt find anything useful. Everything i tried ended with result like "1" or "4".</p>