Need compare indexes when extract amqp conf files

* swap the indexes if argv1_index is bigger than argv2_index

Change-Id: Id93ef544c4a4280587edce3fb2d70e254ee2b860
Closes-Bug: 1371504
Merge "Need compare indexes when extract amqp conf files"