Debugs collection.remove. Adds collection.index for property to sort by.