Sorting declarations