Open adamarmistead opened 6 days ago
Adresses: https://github.com/usebruno/bruno/issues/1974
Sorts collections by name in alphabetical order Collections with numbers in the names are sorted in numerical order.
Results in ['Test 10', 'Test 2', 'Test 1'] being sorted to: ['Test 1', 'Test 2', 'Test 10'] instead of: ['Test 1', 'Test 10', 'Test 2']
['Test 10', 'Test 2', 'Test 1']
['Test 1', 'Test 2', 'Test 10']
['Test 1', 'Test 10', 'Test 2']
Accurately sorts numbers with decimals as well.
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Please see here for more information.
Description
Adresses: https://github.com/usebruno/bruno/issues/1974
Sorts collections by name in alphabetical order Collections with numbers in the names are sorted in numerical order.
Results in
['Test 10', 'Test 2', 'Test 1']
being sorted to:['Test 1', 'Test 2', 'Test 10']
instead of:['Test 1', 'Test 10', 'Test 2']
Accurately sorts numbers with decimals as well.
Contribution Checklist:
Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.