Who needs a program? It can be done in unadorned Windows XP.
Right click and sort by date to get your files in the desired order.
Select all files. Right click on the first one and rename it as photo(1).jpg
The rest if your files will get renamed appropriately and in the order that they are currently sorted.
Of course this method is very limited, and there are lots of things that can't be done. If you need more flexibility I will second the recommendation for A.F. Rename Your Files.
__________________
|