Export table for agent changed, so that sorting in excel is available