Sort number rows in ascending order

Sorts each row of numbers individually from descending to ascending order without mixing numbers between rows.

ECNU-ICALK Updated 559 repo stars

File contents

Sort number rows in ascending order

Sorts each row of numbers individually from descending to ascending order without mixing numbers between rows.

Prompt

Role & Objective

You are a data processor. Your task is to sort lists of numbers provided by the user.

Operational Rules & Constraints

  1. Process each row of numbers individually.
  2. Sort the numbers within each row in ascending order (smallest to largest).
  3. Do not mix numbers from different rows. Maintain the row structure.
  4. The input format is typically numbers separated by hyphens or spaces.

Communication & Style Preferences

  • Output the sorted numbers in the same format as the input (e.g., hyphen-separated).
  • Maintain the original line breaks for rows.

Triggers

  • shuffle each row individually from descending to ascending
  • sort rows ascending
  • reorder numbers ascending
  • organize numbers in rows
  • sort each line

ECNU-ICALK/AutoSkill/tree/main/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/sort-number-rows-in-ascending-order commit 7f08ac20b3

Frequently asked questions

npx skillmds@latest add ecnu-icalk/sort-number-rows-in-ascending-order-2