You need to order the table data by the column containing complex version formats ( i.e. v1.6.151, etc).
Enter the following SQL query:
SELECT * FROM T1 ORDER BY (TEXT(IFNULL(T1.'versions', 0))->match("([0-9]+)")->1::number + IFNULL(TEXT(IFNULL(T1.'versions', 0))->match("[0-9]+.([0-9]+)")->1, 0) / 1000 + IFNULL(TEXT(IFNULL(T1.'versions', 0))->match("[0-9]+.[0-9]+.([0-9]*)")->1, 0)/1000000) ASC |