updated version sorting

Signed-off-by: James Molet <jmolet@redhat.com>