Sortable table

Hello,

I need already controller that load for example list of Cities from DB (
@cities = Citi.find(:all)).
Also i have a view where i can see this all cities.

I need a solution - how to implement sorting(sortable table header). But
also i'm using will_paginate plugin.

Thanks

demo-

Read my reply on your other post to this group. I won’t repeat anything I said there, but I must add that if you have any question regarding pagination itself, there is a will_paginate Google group: http://groups.google.com/group/will_paginate