added sorting on issued devices page