HF RL Explorer

Task: Natural Sorting of Strings with Numbers in Bash

Task: Natural Sorting of Strings with Numbers in Bash: a task in Terminal-Lego-15k (Harbor dataset). When sorting strings that contain numbers, standard lexicographic sorting often produces undesirable results. For example, sorting abc 2 , abc 1 , abc 10 lexicographically yields abc 1 , abc 10 …

Part of PrimeIntellect/Terminal-Lego-15k.