To sort at runtime you must code the following:

CrystalReport1.Sortfields(0) = "+{Tablename.Fieldname1}"
CrystalReport1.Sortfields(1) = "+{Tablename.Fieldname2}"

and so on.

This order is ASC for the fields. If you want to sort by DESC change '+' to '-'.

Good luck