Mule DataWeave Basics
Creating a Script
weave
%dw 1.0
%output application/java
%var numbers = [5,9,1,4]
---
numbers orderBy $DataWeave is the transformation language of the MuleSoft world. This article shows a first script that declares an array of numbers and sorts it.