implement missing features in database backend
show non-repeating objects first