Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting channels by frequency sorts lexicographically instead of numerically #1654

Closed
raineth opened this issue Sep 20, 2023 · 0 comments · Fixed by #1698
Closed

Sorting channels by frequency sorts lexicographically instead of numerically #1654

raineth opened this issue Sep 20, 2023 · 0 comments · Fixed by #1698
Labels

Comments

@raineth
Copy link

raineth commented Sep 20, 2023

sdrtrunk Version
v0.6.0-beta-2

Describe the bug
When sorting the frequency list in the playlist editor, the list is sorted lexicographically by frequency instead of numerically. For example, 449MHz will be sorted before 45MHz.

To Reproduce
Steps to reproduce the behavior:

  1. Create channels at 45, 449, and 450MHz.
  2. Click on 'frequency' header in channel list to sort by frequency.
  3. Frequencies are sorted as: 449.0, 45.0, 450.0.

Expected behavior
Frequencies are sorted as: 45.0, 449.0, 450.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant