hakam changed to_do to include array of arrays sorting