TetraScience interview question

Write a script to sort software version numbers from oldest to newest.