# How to sort a random DateTime array from oldest to newest?

**URL:** <https://forums.unrealengine.com/t/how-to-sort-a-random-datetime-array-from-oldest-to-newest/274128>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4-27, question\
**Created:** [January 22, 2022, 7:21am UTC](https://forums.unrealengine.com/t/how-to-sort-a-random-datetime-array-from-oldest-to-newest/274128 "2022-01-22T07:21:09Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 13, 2024, 4:40pm UTC](https://forums.unrealengine.com/t/how-to-sort-a-random-datetime-array-from-oldest-to-newest/274128/24 "2024-02-13T16:40:10Z")

</div>

> [@AllGamesSuck](#):
>
> In order to access any data on one save file, you still need to load the whole save file, right?

Right. The native UE saving system in BPs is very undercooked. Almost raw and featureless. Hence [this stuff](https://forums.unrealengine.com/t/plugin-savior/110080) gets to shine.

> Say you want to display 5 thumbnails from 5 different save files, you’d still have to load all 5, right?

If I had some huuuge **S** ave **G** ames or too many small SGs to count, I’d create **another** dedicated SG that contains the data about all other **SGs.** Think a save game for save games! It contains only the information we want to present to the user, but not the game state data itself.

In a scenario where the player has 250 autosaves, we don’t want to load 250x5MBs to extract the time they last played. Instead, load that 1 tiny dedicated SG and show its content to the player. Once they’re happy with their selection, load the real 5MB thing.

On top of that, look into soft references:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/4/af4de153f752b85c50c088ec4a255b0f8161b030.png)

Maybe there’s no need to load all 250 thumbnail assets unless the user does scroll to the bottom of the list.

* * *

Would that work for you?

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-sort-a-random-datetime-array-from-oldest-to-newest/274128)._
