Added sorting to media bulk loader.