added sorting to table with background jobs