more sanity with source regex; sort keys