Added default sort functionality.
Added example folder.
Bug fixes.