Can't manage to sort a file and display time & date on a LCD screen.

You might be close to running out of memory.