When using Web Calendar 4.0 and some of the events are displaying out of order, follow these instructions to update the JavaScript used in the software. This will place all events back in chronological order.  

Step 1:

Download the new the updated javascript file and extract behavior.js
 

Step 2:

64-bit systems: Go to C:\Program Files (x86)\CoffeeCup Software\Web Calendar\markups\javascript
32-bit systems: Go to C:\Program Files \CoffeeCup Software\Web Calendar\markups\javascript
 

Step 3:

Overwrite the existing behavior.js file located in step 2.
 

Step 4:

Now open Web Calendar and export your files again and the new JavaScript will be used.