[fxruby-users] FXlist.sortItems

Kenneth Juul kennetha at stud.ntnu.no
Sun Sep 23 04:26:49 EDT 2007


It sounds like this is a ruby question, not a fox question, depending
on what kind of elements you have in your list.

If your list contains numbers or letters, array.sort and array.sort!
will do. The former returns a new sorted array, the latter sorts self.

You can find the Ruby core reference at http://www.ruby-doc.org/core/

K.


On 9/22/07, Jonty <jontyjont at btinternet.com> wrote:
> Hi,
>  From the API docs this appears to be an empty method. I am looking for
> a way to sort items in a list. Any suggestions?
> _______________________________________________
> fxruby-users mailing list
> fxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/fxruby-users
>
>


-- 
Mvh
Kenneth Juul

mob/tlf 99008269 / 73514449


More information about the fxruby-users mailing list