Sorting arranges items by ID. Removed messages.