When source files and resource files both change polygon-cli commit may upload source file before respective resource file, and source file can fail to compile.
sort the list of local files according in the way that resources are before sources, and sources are before script
When source files and resource files both change
polygon-cli commit
may upload source file before respective resource file, and source file can fail to compile.