made tags uppercase, fixed audit sort