add sorted_for plugin