fixed collection sort -- woops!