File upload with sort order according to category.