Add comparator to sort submissions by created_datetime
- Add tests and generate dist file