Open maurymarkowitz opened 7 years ago
This is actually handled by https://github.com/zipleen/tvheadend-ios-lib/blob/tvOS/tvheadend-ios-lib/TVHEpgStoreAbstract.m#L120 which in itself uses compareByName and compareByNumber in https://github.com/zipleen/tvheadend-ios-lib/blob/tvOS/tvheadend-ios-lib/TVHChannel.m#L288 . It has a unit test in https://github.com/zipleen/tvheadend-ios-lib/blob/tvOS/tvheadend-ios-libTests/TVHChannelTests.m#L113 for compareByNumber, if you want you can add a unit test for compareByName and try to fix it =)
Now that I think about it, did you put those numbers inside the actual channel name? That's not going to work well! lol
Move those numbers to the actual number, you now have an option to show channel numbers :P (although I have no idea if the 23.2 / 23.1 will compare correctly, but you can try:P)
A picture is worth 1000 words... note the ordering of the channels, especially for 49.