I have primary_key ('id'/string) and sort_key ('updated_at'/Unix time stamp number). When I query to dynamo DB trough lambda using node.j, I want to fetch results ordered by my sort_key.
I have tried scan but results are not ordered during scan calls. When I do the query it requires to do an operation with my primary key. How can I fetch my data sorted by sort key?