removed sorting call