HISTORY sorted. UI updated.