Sorted clery acts and fixed getallcleryact method