Problems with sorting of Timestamps and integers
Hi. I am having some problems when I抦 trying to sort a list of Timestamps and integers.. the thing is that i have a list of Objects(Tasks) containing Timestamps(StartTime and EndTime) and an integer, Priority (0 or 1), the different Tasks are to be sorted after StartTime, EndTime and priority, and the list should only consist of an suggested order to complete the different Tasks..
The tasks can be at the same time, therefore the Priority, and one Task may also start before another Task is completed and vice versa.
(The user can only perform one task at the time)
I have tried for some time now, but I just cant seem to fix this problem..
An example would be very nice.
Thanks / David

