Sort tags for convenience