removed print statement after sort in utils method