sort versions properly using osgi style version numbering