the pbp arrayList was not being sorted correctly