Skip to main content

I have one more question for this group. Is it possible in Lightning to sort items in related lists by date and time, as it is in Classic? I have been able to sort by date only, but my users that are creating multiple records in a day are noticing that they are not in time order (most recent being the first on the list). It is just the opposite. So, if related records are created at 8 a.m., 9 a.m., and 10 a.m. on 8/22, they show up in just that order 8/22 at 8 a.m., 8/22 at 9 a.m., and 8/22 at 10 a.m. How do I get the last record created to be the first in the list? Thank you (again!)

2 commentaires
  1. 23 août 2018, 17:21
    Sorry! I just realized my post should have been more specific. I can sort if I click into the full list. Where I'm not seeing it is on the "Related List - Single" Lightning Component on the object. I may have answered my own question, though. This related list is related to a custom object and is sorted by Activity Date. There is a Created Date, but I don't think this even includes a time. I'm going to try (in a sandbox) changing the Activity Date field type to Activity Date and Time and see if I can then sort by this field. Do you have any idea if the Lightning Component would show in the correct order then? Thanks for your quick reply! Always learning...
0/9000