added two multireduce versions based on sorting first; one sorts partially and then does a naive multireduce, one sorts completely and then does a segmented reduce, using moderngpu code