Bug Fix: the pagnate & sort solution using will_pagnate