add sorted view