Given a list of inputs which are strings of words separated by commas, print specific words from the input in a given format.
e.g. String input could be a list of strings that look like this: "1, A1, 5000, card_number, 1234567"
The words represent the timestamp, ID, amount, type, and value respectively. For each string input, print the info in this format: "ID amount APPROVED". You can assume everything is approved for now. Print the info in chronological order according to their timestamps.