I\'m having a little problem with trying to sort the contents of a table programs by the column prog_id which holds the id of each program in the f
programs
prog_id
Not optimal solution -
...ORDER BY substring_index(prog_id, '.', 1), substring_index(substring_index(prog_id, '.', 2), '.', -1), substring_index(prog_id, '.', -1)
Odd solution, but try it -
...ORDER BY INET_ATON(prog_id)