fixed ORDER BY in TransactionDAO