class and tutorials query ordered