change source order based on type
release 0.13.2