Adding reorder logic to view + controller.
Improved reorder logic a bit.
Fixed setting of order for new alarms.