#!/bin/bash
version1="1.1.16"
version2="1.1.32"

if [[ $(printf "%s\n" "$version1" "$version2" | sort -V | tail -n 1) == "$version1" ]]; then
    echo "$version2 is less than or equal to $version1"
else
    echo "$version1 is less than $version2"
fi
