sort lessons during the day (fixed a display issue with adjacent
duplicate lessons)
updated copyright
fixed warning