Fixed issues in controller and view

With the following environment:

    Enironment:
      Redmine version                2.5.1.stable
      Ruby version                   1.9.3-p194 (2012-04-20) [x86_64-linux]
      Rails version                  3.2.6
      Environment                    production
      Database adapter               MySQL

I was getting two errors - in timesheet controller, "unknown method order" and in the view something about unknown sort on dynamic module with some yaml stuff.

After removing the code everything is working as expected.

I am not a ruby developer so excuse if the stuff doesnt make any sense.