Sort all data