sorting users table by id