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
You could use 3 fields e.g. major_version, minor_version, build_number, make them integer fields and use mysqls buildin "ORDER BY major_version,minor_version,build_number" which will order the fields in the desired way.