sorting phing and build script