remove sorting stuff which seemed to be causing problems