once and for all: fixed version sort