Modified code to display the films by time (instead of sorting them alphabetically), after user clicks on specific date