Change the TV channels sort by buttons

  • Hi guys,

    I am trying to be able to change the sort of TV channel come from simple client PVR by creating button. The way I did like this and worked with name sort but can't sorted by number.

    I used the sorted method ID number like this

    <onclick>Container.SetSortMethod(46)</onclick>

    ID 46 for channelnumber but didn't work with men!

    Any Idea for this issue

    Thanks for all