_type fix
sammyjs wrapper fix
added date sorting