Hi there,<BR><BR>I have an array of strings. Each string can start (but not necessarily) start with a 4-digit time stamp denoted in military time (ie, 1300 for 1pm). <BR><BR>Some users need to see this data sorted with all the time-entries first (and then in ascending order) followed by the other events. <BR><BR>Other users need to see this data sorted in ascending order, with the time entries AFTER the non-time entries. <BR><BR>Is there a way to do this? Being more familiar with the perl language, I&#039;ve done the comparison like this:<BR><BR>if ($Settings{"LIST_TIME_ENTRIES_FIRST"}) {<BR>return ($num_a cmp $num_b); #Put events w/ a time first<BR>} else {<BR>return ($num_a &#060;=&#062; $num_b); #Put events w/o a time first <BR>}<BR><BR>I can&#039;t seem to figure it out for ASP, and would appreciate any assistance.<BR><BR>Thanks.