In the case of the sql scripts the versioned file names are very important, once it runs a script of a particular version it will never run that script or any lower version again for the feature.
The number prefixes on the feature definition files are not important, at one time in the past that did control the sort order of features in the dropdown list, but it was later changed to use the SortOrder as Jamie mentioned.
Hope that helps,
Joe