Fix recent sort