Added limit and order to select