This reverts commit 091b31930a107ddbbb73be29ccdf8649235e2e62.
Context: https://linear.app/comm/issue/ENG-1481/revisit-medialibrary-sortby
Additional context: https://linear.app/comm/issue/ENG-2111/max-sees-old-images-ahead-of-recent-ones-in-image-gallery
Basically @max and I and others noticed that the sort order of images in the MediaGalleryKeyboard appears incorrect. This seems to be the case both on Android and iOS (see Linear issues for further discussion).
The changes in D4836 were intended to address an issue where media was being "pushed to the front" when viewed/edited because MediaGalleryKeyboard was sorting by modificationTime.
However, after that diff was landed I noticed that the order of media in MediaGalleryKeyboard was not as expected on my personal iOS device. In addition, after pushing build 159 to prod on Android, I got feedback that media appeared to be sorted in the wrong order... specifically that it seemed like media was being sorted alphabetically based on the names of the folders in which they lived.
This diff reverts the sort order to what it was in build 131 (last public App Store/Play Store release)