Sort accounts by ID