added nesterd recursive callbacks
sorts pictures by tag count