Skip to main content
Glama

map_reduce_mr_sort

Sort JSON arrays by specified fields to organize data efficiently. Use this tool to arrange array elements in ascending or descending order based on field values.

Instructions

[map_reduce] Sort a JSON array by a field (ascending by default).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
fieldYes
reverseNo
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/0-co/agent-friend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server