Fix table sorting - manage.tmpl

fix sorting for anime, flat folders & paused row.