In DynamoDB is it possible to use a query to get an item collection but have the order sorted by another attribute which is not a sort key?
For example:
UserId - PartitionKey
Type - SortKey
Timestamp
Is it possible to query by user ID and get all the type and ordered by the timestamp?
If not, would adding a GSI or LSI help here?