Cache
Cache copied to clipboard
remove older files not recent
Wait, are you telling me this code was wrong all this time and no one noticed? :O
I viewed the apple developer document,timeIntervalSinceReferenceDate
returns the interval between the date object and 00:00:00 UTC on 1 January 2001, so if using time1 > time2, the recent files will be in the front of the files sorted, and they will be removed in advance.