Sorting of Output list from DMN

I have a output coming from my DMN as

[
    {
        "variable1": 0,
        "variable2": 13,
        "variable3": 85,
        "variable4": 26,
        "variable5": 12,
        "variable6": 20,
        "variable7": 32,
        "variable8": -87,
        "variable9": 10,
        "variable10": 78,
        "variable11": 455,
        "variable12": 23,
        "variable13": 34,
        "variable14": 80,
        "variable15": -90,
        "variable16": 134
    }
]

Is there any way to sort these based on integer value and then pic maybe top 3 or 4 or 5.

Can it be done by a hit policy or a literal expression

Also, how do we pass a list of output from previous box to literal expression?