The words in some sentences can often be moved around, that is true, but the order of the verbs usually follows the rule. When there are two verbs, one comes at the second place and the other as you said, comes at the end. So in this case lieben should be at the end.