updated database to respect no "asc" or "desc"