Added validations for tags. Sorted index page. Make sure that import doesn't import duplicate tags