added a sort for the input handlers and added joystick initialization in Game.cpp