Sort asset paths to prevent inconsistency