title: SQL query, sorting
body: <p>I have a table with columns transaction_ID, status and modified_date.
  Transaction status may have duplicate values but modified_date will be different.
  I want to print the latest status of transaction with its ID like a map.</p>