Sort tags by page position