text: Title: Order of Agents in the Library has become random
  Body: In the Library Screen, Agents used to be sorted by date of last run. However, a bug has been introduced that is causing agents to appear in a random order.
  
  ## Steps to Reproduce:
  
  1. Have multiple agents in your library that have been ran
  2. Go to the Library tab and observe the order is random.
  
  ## Desired Behaviour:
  
  1. Agents should be ordered by date of last SAVE/EDIT, with the **most recently edited** agents at the **TOP** of the list.
  
  Sorting Agents by date of last edit/save means that agents that have never been ran are still easy to find in the library. However if sorting by Save date for whatever reason is not technically feasible (i.e if we don't store this date yet) a good compromise would be sorting by date of last run.