Sorley joined the Royal Naval Air Service in 1914. He served with distinction as a pilot in the First World War, earning the Distinguished Service Cross "for the determined and successful bombing attacks on the "Breslau" and "Goeben" on 20 January 1918, and subsequent days, both by day and by night." In the immediate post-war years he served in Iraq and Palestine before returning in 1924 to join the staff of the Marine Aircraft Experimental Establishment in Felixstowe. Sorley was appointed Officer Commanding No. 8 Squadron in 1931 and squadron leader at the Operational Requirements section at the Air Ministry in 1933. It was during his time as squadron leader in charge at the Operational Requirements section that the Operational Requirement F.36/34, which governed the procurement of both the Supermarine Spitfire and the Hawker Hurricane, was amended on his recommendation to change the armament from two.303 in Vickers machine guns in each wing to four.303 in Brownings. This recommendation was based on extensive work carried out by Air Ministry staff, the mathematical calculations showing the need for eight machine guns being carried out by Captain F. W. 'Gunner' Hill. Sorley went on to be Officer Commanding, No. 4 Armament Training Station at RAF West Freugh in 1937. In 1939 Sorley was made Station Commander at RAF Upwood and in 1940 he became Commandant of the Aeroplane and Armament Experimental Establishment, MOD Boscombe Down, after which he became Assistant Chief of the Air Staff. In his role as Controller of Research & Development, Ministry of Aircraft Production in 1943 he created the Test Pilots' Training Flight, which was soon renamed the Test Pilots' School, the world's first such training establishment. It became the Empire Test Pilots' School the following year. He was knighted in the King's Birthday Honours List in June 1944. After the War he was appointed Air Officer Commanding-in-Chief at Technical Training Command. Upon his retirement from the RAF in 1948, Sorley joined the Board of De Havilland Propellers Ltd as its Managing Director, a post he held for twelve years. He recognised the need to diversify from manufacturing propellers due to the advent of the jet engine and was instrumental in the development of the de Havilland Firestreak airborne infrared missile, which became the RAF's main air defence weapon at the time.