Reorging tests
Making agentsets of patches sortable
Fixing some list-sorting language tests