Either arrangement is a poor choice in terms of getting the most bang for your buck. Most trainers recommend resistance training before cardio, but some recommend the opposite. Both will put your body in a state of catabolism that will hinder your progress with the weight training in terms of body composition change and strength gains. So, if you must do it this way: either or. Doesn't matter.
IF you could find some way to split the resistance training from the cycling... then you would get more results for the effort that you put in. Something like... early morning: carb up, lift weights, protein + carb shake, normal daily activities and meals, then cycling in the evening, or something like that would be ideal.