Fix recent sorting