Fix wrong order of positional args in cli

Positional arguments were incorrectly parsed because instead of
original order there was an alphabetical.

This patch brings a positional field in Opt class and then sorts
all arguments by position-name.

Change-Id: Ia22654442b895c3f62834428f0ec6c3e8af22ebb
Closes-Bug: 1392428
Merge "Fix wrong order of positional args in cli"