List view sorting

I am making a project with a list view. I want to sort items by the time modified. What block can I use?

I am sorry if the question has already been answered.

Convert the date to milliseconds or seconds, and then sort from lowest to greatest or opposite.

1 Like

@ontstudios Thank you, but shall I use this block?

clock.Make Instant From Millis

Yeah you can.first store time of creating column.& then use this block for each item in list.which database u r using

1 Like

Thank you so much too! I am using Tiny DB

@msr79526 @Mateja I still don’t know what block should i use to sort except the get mills block…

  1. Don’t tag people to get attention
  2. You didn’t search the community. I found like 20 topics, and this is the 21st.
    Kodular Utility Blocks
1 Like

Really?! I am so sorry about this. I searched the community for the whole afternoon. Maybe my keywords are wrong…

Sure, you would’ve found plenty of topics.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.