Declaration sorting for readability